X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0f7ebe49c20394d80afb129b29e4afa411347441..3acdb5c1daebfd692344bb93cd8d0594607caa9b:/apps/catalogue/tests/gallery.py?ds=sidebyside diff --git a/apps/catalogue/tests/gallery.py b/apps/catalogue/tests/gallery.py index e1f636dc..ad0dfd7d 100644 --- a/apps/catalogue/tests/gallery.py +++ b/apps/catalogue/tests/gallery.py @@ -20,8 +20,6 @@ class GalleryAppendTests(TestCase): self.book1 = Book.create(self.user, 'book 1', slug='book1') self.book1.chunk_set.create(number=2, title='Second chunk', slug='book 1 / 2') - c=self.book1[0] - c.gallery_start=1 c=self.book1[1] c.gallery_start=3 @@ -43,9 +41,6 @@ class GalleryAppendTests(TestCase): self.book2.chunk_set.create(number=2, title='Second chunk of second book', slug='book 2 / 2') - c = self.book2[0] - c.gallery_start = 1 - c.save() c = self.book2[1] c.gallery_start = 3 c.save()