]> git.aero2k.de Git - sirius.git/commitdiff
test: fix mock in oauth test
authorPhillip Ferentinos <phillipjf@users.noreply.github.com>
Thu, 6 Jul 2023 19:18:41 +0000 (14:18 -0500)
committerPhillip Ferentinos <phillipjf@users.noreply.github.com>
Thu, 6 Jul 2023 19:18:41 +0000 (14:18 -0500)
sirius/web/test_oauth_flow.py

index f554bf0e336abf8ca950d9ed4bdd32f1290624df..d2acf70687528af3614626828e289f2dfe5e22fc 100644 (file)
@@ -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)