diff --git a/tests/app/main/views/test_accept_invite.py b/tests/app/main/views/test_accept_invite.py index d62b5d0ba..1deeca299 100644 --- a/tests/app/main/views/test_accept_invite.py +++ b/tests/app/main/views/test_accept_invite.py @@ -99,6 +99,7 @@ MOCK_JOBS = { ] } + @pytest.fixture() def _mock_no_users_for_service(mocker): mocker.patch("app.models.user.Users.client_method", return_value=[]) diff --git a/tests/app/main/views/test_sign_out.py b/tests/app/main/views/test_sign_out.py index cabdb26a6..d70c5d0f8 100644 --- a/tests/app/main/views/test_sign_out.py +++ b/tests/app/main/views/test_sign_out.py @@ -85,6 +85,7 @@ MOCK_JOBS = { ] } + def test_render_sign_out_redirects_to_sign_in(client_request): # TODO with the change to using login.gov, we no longer redirect directly to the sign in page. # Instead we redirect to login.gov which redirects us to the sign in page. However, the