mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -426,9 +426,6 @@ class WritingTest(BaseTest):
|
||||
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…
x
Reference in New Issue
Block a user