Skip to content

Commit

Permalink
load a course directly in the auth test, to avoid a redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumukh committed Jan 24, 2016
1 parent c02ebd7 commit ab90f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_testing_login_fail(self):
def test_restricted(self):
"""User should see /restricted if logged in, but not if logged out."""
self.login(self.email)
response = self.client.get('/student')
response = self.client.get('/student/course/1')
self.assert_200(response)

self.client.get('/logout')
Expand Down

0 comments on commit ab90f42

Please sign in to comment.