-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add to tox, update python version, POST for logout. Also update GitHub action versions.
- Loading branch information
Showing
5 changed files
with
24 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ def test_user_flow(self): | |
resp = self.client.post('/tickets/boxoffice', { | ||
'name': 'Test', 'unicorn': '[email protected]', 'username': 'test', 'password': 'test'}) | ||
self.assertContains(resp, 'You are now registered and logged in') | ||
resp = self.client.get('/tickets/returns') | ||
resp = self.client.post('/tickets/returns') | ||
self.assertContains(resp, 'You are now signed out') | ||
resp = self.client.post('/tickets', {'username': 'test', 'password': 'test'}, follow=True) | ||
self.assertRedirects(resp, '/profile/test', status_code=302) | ||
|
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