From d1276c781518fc7b90c4b6bd3bd6364252ab3174 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 19 Mar 2015 16:36:55 +0100 Subject: [PATCH 1/1] Fix test. --- apps/catalogue/tests/gallery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/catalogue/tests/gallery.py b/apps/catalogue/tests/gallery.py index ad0dfd7d..4b8ea3f4 100644 --- a/apps/catalogue/tests/gallery.py +++ b/apps/catalogue/tests/gallery.py @@ -19,7 +19,7 @@ class GalleryAppendTests(TestCase): self.user = User.objects.create(username='tester') self.book1 = Book.create(self.user, 'book 1', slug='book1') self.book1.chunk_set.create(number=2, title='Second chunk', - slug='book 1 / 2') + slug='book1-2') c=self.book1[1] c.gallery_start=3 @@ -39,7 +39,7 @@ class GalleryAppendTests(TestCase): def test_both_indexed(self): self.book2 = Book.create(self.user, 'book 2', slug='book2') self.book2.chunk_set.create(number=2, title='Second chunk of second book', - slug='book 2 / 2') + slug='book2-2') c = self.book2[1] c.gallery_start = 3 -- 2.20.1