X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a2e0b275015cd104c63296a174e2c219251d1e21..114d7edc5dab67cc91565960a6e8bbc040563901:/src/catalogue/tests/bookmedia.py?ds=inline diff --git a/src/catalogue/tests/bookmedia.py b/src/catalogue/tests/bookmedia.py index b3c195861..263e48d9a 100644 --- a/src/catalogue/tests/bookmedia.py +++ b/src/catalogue/tests/bookmedia.py @@ -51,7 +51,7 @@ class BookMediaTests(WLTestCase): bm.file.save(None, self.file2) self.assertEqual(bm.file.read(), 'Y') - self.assertEqual(basename(bm.file.name), '%s-some-media.ogg' % bm.id) + self.assertEqual(basename(bm.file.name), 'some-media.ogg') @skip('broken, but is it needed?') def test_no_clobber(self):