Skip to content

Commit

Permalink
Add new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivica Ceraj committed Nov 7, 2014
1 parent f3949a8 commit 5f874f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pylti/tests/test_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ def request_callback(request, cburi, headers):
url = 'http://localhost/initial?'
new_url = self.generate_launch_request(self.consumers, url,
lit_outcome_service_url=uri)

ret = self.app.get(new_url)
self.assertFalse(self.has_exception())

Expand Down Expand Up @@ -473,8 +472,10 @@ def request_callback(request, cburi, headers):
consumers = self.consumers
url = 'http://localhost/initial?'
new_url = self.generate_launch_request(consumers, url)

ret = self.app.get(new_url)
self.assertFalse(self.has_exception())

ret = self.app.get("/post_grade2/1.0")
self.assertTrue(self.has_exception())
self.assertEqual(ret.data, "error")

0 comments on commit 5f874f4

Please sign in to comment.