added tests

pull/1/head
eric 2014-12-03 11:47:59 -05:00
parent af83e6a8c0
commit f86da03eef
1 changed files with 5 additions and 1 deletions

View File

@ -90,10 +90,14 @@ class PageTests(TestCase):
self.assertEqual(r.status_code, 200) self.assertEqual(r.status_code, 200)
r = anon_client.get("/marc/") r = anon_client.get("/marc/")
self.assertEqual(r.status_code, 200) self.assertEqual(r.status_code, 200)
r = anon_client.get("/creativecommons/") r = anon_client.get("/creativecommons/?order_by=popular")
self.assertEqual(r.status_code, 200) self.assertEqual(r.status_code, 200)
r = anon_client.get("/creativecommons/by") r = anon_client.get("/creativecommons/by")
self.assertEqual(r.status_code, 200) self.assertEqual(r.status_code, 200)
r = anon_client.get("/free/by-nc/?order_by=title")
self.assertEqual(r.status_code, 200)
r = anon_client.get("/free/epub/gfdl/")
self.assertEqual(r.status_code, 200)
class GoogleBooksTest(TestCase): class GoogleBooksTest(TestCase):