fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e87e359
)
one more fix to bookmedia tests
author
Jan Szejko
<janek37@gmail.com>
Thu, 29 Jun 2017 09:47:37 +0000
(11:47 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 29 Jun 2017 09:47:37 +0000
(11:47 +0200)
src/catalogue/tests/bookmedia.py
patch
|
blob
|
history
diff --git
a/src/catalogue/tests/bookmedia.py
b/src/catalogue/tests/bookmedia.py
index
b3c1958
..
263e48d
100644
(file)
--- 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):