Skip to content

Commit

Permalink
Fixed test urls (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-qayyum-khan committed Nov 22, 2018
1 parent 459ab01 commit f35f10d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylti/tests/test_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def test_access_to_oauth_resource_staff_only_as_unknown_role(self):
consumers = self.consumers
url = 'http://localhost/initial_staff?'
admin_url = self.generate_launch_request(
consumers, url, roles='FooBar'
consumers, url, roles='Foo'
)

self.app.get(admin_url)
Expand Down Expand Up @@ -293,7 +293,7 @@ def test_access_to_oauth_resource_student_as_staff(self):
consumers = self.consumers
url = 'http://localhost/initial_student?'
staff_url = self.generate_launch_request(
consumers, url, roles='Staff'
consumers, url, roles='Instructor'
)
self.app.get(staff_url)
self.assertTrue(self.has_exception())
Expand Down

0 comments on commit f35f10d

Please sign in to comment.