Merge pull request #580 from Gluejar/add-licenses-roles
fix test arising from https://github.com/Gluejar/regluit/pull/579pull/1/head
commit
b54b64b6ae
|
@ -845,7 +845,7 @@ class DownloadPageTest(TestCase):
|
||||||
|
|
||||||
anon_client = Client()
|
anon_client = Client()
|
||||||
response = anon_client.get("/work/%s/download/" % w.id, follow=True)
|
response = anon_client.get("/work/%s/download/" % w.id, follow=True)
|
||||||
self.assertContains(response, "/download_ebook/%s/"% eb1.id, count=10)
|
self.assertContains(response, "/download_ebook/%s/"% eb1.id, count=11)
|
||||||
self.assertContains(response, "/download_ebook/%s/"% eb2.id, count=5)
|
self.assertContains(response, "/download_ebook/%s/"% eb2.id, count=5)
|
||||||
self.assertTrue(eb1.edition.work.is_free)
|
self.assertTrue(eb1.edition.work.is_free)
|
||||||
eb1.delete()
|
eb1.delete()
|
||||||
|
|
Loading…
Reference in New Issue