Skip to content

Commit

Permalink
Fix broken errors and assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Mar 15, 2024
1 parent 3747a0d commit 6f9a7e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion ooniapi/services/ooniauth/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from ooniauth.common.config import Settings
from ooniauth.common.dependencies import get_settings
from ooniauth.dependencies import get_ses_client
from ooniauth.utils import hash_email_address
from ooniauth.main import app


Expand Down
2 changes: 1 addition & 1 deletion ooniapi/services/ooniauth/tests/test_auth_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def handle_starttag(self, tag, attrs):

login_link = parser.links[0]
token = parse_qs(urlparse(login_link).query)["token"][0]
assert len(token) > 300
assert len(token) > 200
return token


Expand Down
2 changes: 1 addition & 1 deletion ooniapi/services/ooniauth/tests/test_auth_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def handle_starttag(self, tag, attrs):

login_link = parser.links[0]
token = parse_qs(urlparse(login_link).query)["token"][0]
assert len(token) > 300
assert len(token) > 200
return token


Expand Down

0 comments on commit 6f9a7e3

Please sign in to comment.