From d645514d0aea2037335c0e769f5a4db3b24f384b Mon Sep 17 00:00:00 2001 From: Phillip Ferentinos Date: Thu, 6 Jul 2023 14:18:41 -0500 Subject: [PATCH] test: fix mock in oauth test --- sirius/web/test_oauth_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sirius/web/test_oauth_flow.py b/sirius/web/test_oauth_flow.py index f554bf0..d2acf70 100644 --- a/sirius/web/test_oauth_flow.py +++ b/sirius/web/test_oauth_flow.py @@ -22,7 +22,7 @@ class TestOAuthFlow(testing.TestCase): app = webapp.create_app("test") return app - @mock.patch("twitter.get_self") + @mock.patch("sirius.web.twitter.get_self") def test_oauth_authorized(self, get_self_mock): get_self_mock.return_value = {"username": "test_screen_name"} self.assertEqual(login.current_user.is_authenticated, False) -- 2.47.3