Skip to content

Commit 3f6da88

Browse files
Formatting
1 parent 28ea587 commit 3f6da88

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

app/backend/src/tests/test_strong_verification.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,8 @@ def test_strong_verification_non_passport(db, monkeypatch, push_collector: PushC
816816
_, superuser_token = generate_user(is_superuser=True)
817817

818818
MockSVFlow(user=user, token=token).process_iris_callbacks(
819-
document_type="IDENTITY_CARD",
820-
expected_status=StrongVerificationAttemptStatus.failed)
819+
document_type="IDENTITY_CARD", expected_status=StrongVerificationAttemptStatus.failed
820+
)
821821

822822
push = push_collector.pop_for_user(user.id, last=True)
823823
assert push.content.title == "Strong Verification failed"
@@ -832,9 +832,7 @@ def test_strong_verification_wrong_birthdate(db, monkeypatch, push_collector: Pu
832832

833833
user, token = generate_user(birthdate=date(1988, 1, 1), gender="Man")
834834

835-
MockSVFlow(user=user, token=token).process_iris_callbacks(
836-
date_of_birth=date.fromisoformat("1999-12-31")
837-
)
835+
MockSVFlow(user=user, token=token).process_iris_callbacks(date_of_birth=date.fromisoformat("1999-12-31"))
838836

839837
push = push_collector.pop_for_user(user.id, last=True)
840838
assert push.content.title == "Strong Verification failed"
@@ -849,9 +847,7 @@ def test_strong_verification_wrong_gender(db, monkeypatch, push_collector: PushC
849847

850848
user, token = generate_user(birthdate=date(1988, 1, 1), gender="Man")
851849

852-
MockSVFlow(user=user, token=token).process_iris_callbacks(
853-
sex=PassportSex.female
854-
)
850+
MockSVFlow(user=user, token=token).process_iris_callbacks(sex=PassportSex.female)
855851

856852
push = push_collector.pop_for_user(user.id, last=True)
857853
assert push.content.title == "Strong Verification failed"

0 commit comments

Comments
 (0)