Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
guffee23 committed Nov 26, 2024
1 parent f5df890 commit 627d6aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/sbl_filing_api/services/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@


def send_confirmation_email(
user_full_name: EmailStr, user_email: EmailStr, contact_info_email: EmailStr, confirmation_id: EmailStr, timestamp: int
user_full_name: EmailStr,
user_email: EmailStr,
contact_info_email: EmailStr,
confirmation_id: EmailStr,
timestamp: int,
):
confirmation_request = {
"confirmation_id": confirmation_id,
Expand Down
2 changes: 1 addition & 1 deletion tests/api/routers/test_filing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ async def test_good_sign_filing(
action_type=UserActionType.SIGN,
),
)
send_email_mock.assert_called_with("Test User", "[email protected]", '[email protected]', ANY, ANY)
send_email_mock.assert_called_with("Test User", "[email protected]", "[email protected]", ANY, ANY)
assert upsert_mock.call_args.args[1].confirmation_id.startswith("1234567890ABCDEFGH00-2024-5-")
assert res.status_code == 200
assert float(upsert_mock.call_args.args[1].confirmation_id.split("-")[3]) == pytest.approx(
Expand Down

0 comments on commit 627d6aa

Please sign in to comment.