X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/56145861cf5fa01c5fbb429d40242e0a16189ed1..3204e4303148302d278036eebcfc8cb105cc97d7:/src/catalogue/tests/test_gallery.py diff --git a/src/catalogue/tests/test_gallery.py b/src/catalogue/tests/test_gallery.py index 4b8ea3f4..1452c1ad 100644 --- a/src/catalogue/tests/test_gallery.py +++ b/src/catalogue/tests/test_gallery.py @@ -45,8 +45,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 +63,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 +97,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 +110,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 +129,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',