mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 19:23:01 +02:00
Remove the test that checks if #series_index is 1.0 when the series doesn't exist.
This commit is contained in:
parent
9ae0c1df95
commit
8a93c22879
1 changed files with 0 additions and 3 deletions
|
|
@ -426,9 +426,6 @@ def test_set_metadata(self): # {{{
|
|||
self.compare_metadata(nmi, oldmi, exclude={'last_modified', 'format_metadata', 'formats'})
|
||||
cache.set_metadata(1, mi2, force_changes=True)
|
||||
nmi2 = cache.get_metadata(1, get_cover=True, cover_as_data=True)
|
||||
# The new code does not allow setting of #series_index to None, instead
|
||||
# it is reset to 1.0
|
||||
ae(nmi2.get_extra('#series'), 1.0)
|
||||
self.compare_metadata(nmi2, oldmi2, exclude={'last_modified', 'format_metadata', '#series_index', 'formats'})
|
||||
|
||||
cache = self.init_cache(self.cloned_library)
|
||||
|
|
|
|||
Loading…
Reference in a new issue