From d741f16d48453bbe47d24b6091c1bda1fb1e260c Mon Sep 17 00:00:00 2001 From: lchen-2101 <73617864+lchen-2101@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:33:01 -0400 Subject: [PATCH] feat: correct var naming --- tests/app/test_dependencies.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/app/test_dependencies.py b/tests/app/test_dependencies.py index 49c3d39..6669812 100644 --- a/tests/app/test_dependencies.py +++ b/tests/app/test_dependencies.py @@ -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)