From: Phillip Ferentinos Date: Thu, 6 Jul 2023 19:18:41 +0000 (-0500) Subject: test: fix mock in oauth test X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=d645514d0aea2037335c0e769f5a4db3b24f384b;p=sirius.git test: fix mock in oauth test --- 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)