-
Notifications
You must be signed in to change notification settings - Fork 9
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
628902e
commit b217153
Showing
6 changed files
with
33 additions
and
29 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
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
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
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
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 |
---|---|---|
|
@@ -556,7 +556,10 @@ def test_authentication_refresh(self): | |
auth=("[email protected]", "password"), | ||
) | ||
assert login_response.status_code == 200, login_response.text | ||
refresh_response = self.client.post("http://127.0.0.1:8000/api/test/auth/refresh") | ||
assert refresh_response.status_code == 200, refresh_response.text | ||
# Authenticate and check is_refresh | ||
expire_response = self.client.post("http://127.0.0.1:8000/api/test/auth/expire") | ||
assert expire_response.status_code == 200, expire_response.text | ||
authenticate_response = self.client.post( | ||
"http://127.0.0.1:8000/api/test/auth", | ||
) | ||
assert authenticate_response.status_code == 200, authenticate_response.text | ||
|
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