Skip to content

Commit c30b2cb

Browse files
committed
fix tests
1 parent d4e51ea commit c30b2cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_auth.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def test_oauth_start(self):
219219
"Authorization": "Basic ZHVtbXk6",
220220
},
221221
params={"provider": "facebook"},
222+
allow_redirects=False,
222223
)
223224

224225
def test_get_identifier_name_by_method(self):
@@ -326,6 +327,8 @@ def test_logout(self):
326327
dummy_valid_jwt_token = ""
327328
client = AuthClient(self.dummy_project_id, self.public_key_dict)
328329

330+
self.assertRaises(AuthException, client.logout, None, None)
331+
329332
# Test failed flow
330333
with patch("requests.get") as mock_get:
331334
mock_get.return_value.ok = False

0 commit comments

Comments
 (0)