Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewleith committed Apr 30, 2024
1 parent f99a8d6 commit d459537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions tests/app/main/test_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ def test_should_raise_validation_error_for_password(

form.validate()

assert (
"A password that is hard to guess contains"
in form.errors["password"][0]
)
assert "A password that is hard to guess contains" in form.errors["password"][0]


def test_valid_email_not_in_valid_domains(
Expand Down
5 changes: 1 addition & 4 deletions tests/app/main/views/test_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ def test_should_return_200_if_password_is_blocked(
)

response.status_code == 200
assert (
"A password that is hard to guess contains"
in response.get_data(as_text=True)
)
assert "A password that is hard to guess contains" in response.get_data(as_text=True)


def test_register_with_existing_email_sends_emails(
Expand Down

0 comments on commit d459537

Please sign in to comment.