X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/56145861cf5fa01c5fbb429d40242e0a16189ed1..6b0f855c770066db9b5b3fa11a9af64c4b8c60bd:/src/catalogue/tests/test_gallery.py diff --git a/src/catalogue/tests/test_gallery.py b/src/catalogue/tests/test_gallery.py index 4b8ea3f4..32c0e0ac 100644 --- a/src/catalogue/tests/test_gallery.py +++ b/src/catalogue/tests/test_gallery.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -45,8 +43,6 @@ class GalleryAppendTests(TestCase): c.gallery_start = 3 c.save() - print "gallery starts:",self.book2[0].gallery_start, self.book2[1].gallery_start - self.make_gallery(self.book1, { '1-0001_1l' : 'aa', '1-0001_2r' : 'bb', @@ -65,7 +61,6 @@ class GalleryAppendTests(TestCase): files = listdir(join(self.scandir, self.book1.gallery)) files.sort() - print files self.assertEqual(files, [ '1-0001_1l', '1-0001_2r', @@ -100,7 +95,6 @@ class GalleryAppendTests(TestCase): files = listdir(join(self.scandir, self.book1.gallery)) files.sort() - print files self.assertEqual(files, [ '0-0001_1l', '0-0001_2r', @@ -114,7 +108,6 @@ class GalleryAppendTests(TestCase): def test_none_indexed(self): - import nose.tools self.book2 = Book.create(self.user, 'book 2', slug='book2') self.make_gallery(self.book1, { '1-0001_1l' : 'aa', @@ -134,7 +127,6 @@ class GalleryAppendTests(TestCase): files = listdir(join(self.scandir, self.book1.gallery)) files.sort() - print files self.assertEqual(files, [ '0-1-0001_1l', '0-1-0001_2r',