Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

chore: delete owlbot.py #151

Merged
merged 8 commits into from
Nov 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

.. include:: multiprocessing.rst


API Reference
-------------
.. toctree::
Expand All @@ -10,9 +11,13 @@ API Reference
recaptchaenterprise_v1/services
recaptchaenterprise_v1/types


Changelog
---------

For a list of all ``google-cloud-recaptcha-enterprise`` releases:

.. toctree::
:maxdepth: 2
:maxdepth: 2

changelog
changelog
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def cover(session):
test runs (not system test runs), and then erases coverage data.
"""
session.install("coverage", "pytest-cov")
session.run("coverage", "report", "--show-missing", "--fail-under=98")
session.run("coverage", "report", "--show-missing", "--fail-under=100")

session.run("coverage", "erase")

Expand Down
50 changes: 0 additions & 50 deletions owlbot.py

This file was deleted.

8 changes: 4 additions & 4 deletions samples/snippets/test_create_assessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ def index() -> str:
@pytest.fixture(scope="module")
def browser() -> WebDriver:
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--window-size=1420,1080')
chrome_options.add_argument('--headless')
chrome_options.add_argument('--disable-gpu')
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--window-size=1420,1080")
chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu")
browser = webdriver.Chrome(chrome_options=chrome_options)
yield browser
browser.close()
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/test_site_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_update_site_key(capsys: CaptureFixture, recaptcha_site_key: str) -> Non
update_site_key(
project_id=GOOGLE_CLOUD_PROJECT,
recaptcha_site_key=recaptcha_site_key,
domain_name=DOMAIN_NAME
domain_name=DOMAIN_NAME,
)
out, _ = capsys.readouterr()
assert re.search("reCAPTCHA Site key successfully updated ! ", out)