Skip to content

Commit

Permalink
feat: correct var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
lchen-2101 committed Sep 29, 2023
1 parent 41ad531 commit d741f16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/app/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def test_domain_allowed(mocker: MockerFixture, mock_session: AsyncSession)
domain_allowed_mock.return_value = True
from dependencies import email_domain_denied

denied_domain = "allowed.domain"
allowed_domain = "allowed.domain"

assert await email_domain_denied(mock_session, denied_domain) is False
domain_allowed_mock.assert_called_once_with(mock_session, denied_domain)
assert await email_domain_denied(mock_session, allowed_domain) is False
domain_allowed_mock.assert_called_once_with(mock_session, allowed_domain)

0 comments on commit d741f16

Please sign in to comment.