-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3021ae2
commit cb9677c
Showing
1 changed file
with
0 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,7 +226,6 @@ def test_authenticate_with_magic_auth( | |
def test_authenticate_with_password( | ||
self, capture_and_mock_request, mock_auth_response | ||
): | ||
code = "test_auth" | ||
email = "[email protected]" | ||
password = "test123" | ||
expires_in = 3600 | ||
|
@@ -236,7 +235,6 @@ def test_authenticate_with_password( | |
url, request = capture_and_mock_request("post", mock_auth_response, 200) | ||
|
||
response = self.users.authenticate_with_password( | ||
code=code, | ||
email=email, | ||
password=password, | ||
expires_in=expires_in, | ||
|
@@ -247,7 +245,6 @@ def test_authenticate_with_password( | |
assert url[0].endswith("users/session/token") | ||
assert response["user"]["id"] == "user_01H7ZGXFP5C6BBQY6Z7277ZCT0" | ||
assert response["session"]["id"] == "session_01E4ZCR3C56J083X43JQXF3JK5" | ||
assert request["json"]["code"] == code | ||
assert request["json"]["email"] == email | ||
assert request["json"]["password"] == password | ||
assert request["json"]["user_agent"] == user_agent | ||
|