Merge pull request #580 from Gluejar/add-licenses-roles

fix test arising from https://github.com/Gluejar/regluit/pull/579
pull/1/head
Raymond Yee 2016-05-12 11:33:12 -07:00
commit b54b64b6ae
1 changed files with 1 additions and 1 deletions

View File

@ -845,7 +845,7 @@ class DownloadPageTest(TestCase):
anon_client = Client()
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.assertTrue(eb1.edition.work.is_free)
eb1.delete()