diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestOAuth2.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/TestOAuth2.py b/tests/TestOAuth2.py index d39dc35258..cb28d8625c 100644 --- a/tests/TestOAuth2.py +++ b/tests/TestOAuth2.py @@ -199,12 +199,6 @@ def test_refreshAccesTokenWithoutData(): authorization_service.refreshAccessToken() authorization_service.onAuthStateChanged.emit.assert_not_called() -def test_userProfileException(): - authorization_service = AuthorizationService(OAUTH_SETTINGS, Preferences()) - authorization_service.initialize() - authorization_service._parseJWT = MagicMock(side_effect=requests.exceptions.ConnectionError) - assert authorization_service.getUserProfile() is None - def test_failedLogin() -> None: authorization_service = AuthorizationService(OAUTH_SETTINGS, Preferences()) authorization_service.onAuthenticationError.emit = MagicMock() |