Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatascastro12 committed Aug 21, 2023
1 parent 3021ae2 commit cb9677c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit cb9677c

Please sign in to comment.