X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a2e0b275015cd104c63296a174e2c219251d1e21..ddf91891d57294b4fbf52ac5fb55b4f0e71e8781:/src/catalogue/tests/bookmedia.py 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):