X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/274de65ca44c680c6c555c599ec32428c79db356..46185b67f099b17b25b55d3ad49d8d45a2fc3a6f:/src/catalogue/tests/visit.py?ds=inline diff --git a/src/catalogue/tests/visit.py b/src/catalogue/tests/visit.py index 8cfea1290..5e640adad 100644 --- a/src/catalogue/tests/visit.py +++ b/src/catalogue/tests/visit.py @@ -43,8 +43,8 @@ class VisitTest(WLTestCase): 'lektura/a-book/motyw/theme/', 'motyw/theme/', 'autor/jane-doe/', - 'autor/jane-doe/gatunek/genre/', - 'autor/jane-doe/gatunek/genre/motyw/theme/', + # 'autor/jane-doe/gatunek/genre/', + # 'autor/jane-doe/gatunek/genre/motyw/theme/', 'b/%d/mini.pl.html' % self.book.pk, 'b/%d/mini_nolink.pl.html' % self.book.pk, 'b/%d/short.pl.html' % self.book.pk, @@ -74,6 +74,6 @@ class VisitTest(WLTestCase): for url in urls: print(url) status = self.client.get(prefix + url).status_code - self.assertEqual(status, expected_status, - "Wrong status code for '%s'. Expected %d, got %d." % ( - prefix + url, expected_status, status)) + self.assertEqual( + status, expected_status, + "Wrong status code for '%s'. Expected %d, got %d." % (prefix + url, expected_status, status))