X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a2e0b275015cd104c63296a174e2c219251d1e21..46185b67f099b17b25b55d3ad49d8d45a2fc3a6f:/src/catalogue/tests/bookmedia.py?ds=sidebyside 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):