mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
253fd95479
commit
671128d144
@ -13,7 +13,7 @@ from calibre.ebooks.metadata.epub import get_metadata
|
||||
from calibre.ebooks.metadata.opf2 import OPF
|
||||
from calibre.srv.tests.base import LibraryBaseTest
|
||||
from calibre.utils.imghdr import identify
|
||||
from calibre.utils.shared_file import share_open, test as test_share_open
|
||||
from calibre.utils.shared_file import share_open
|
||||
|
||||
def setUpModule():
|
||||
# Needed for cover generation
|
||||
@ -174,7 +174,6 @@ class ContentTest(LibraryBaseTest):
|
||||
self.ae(r.getheader('Used-Cache'), 'no')
|
||||
|
||||
# Test file sharing in cache
|
||||
test_share_open()
|
||||
r, data = get('cover', 2)
|
||||
self.ae(r.status, httplib.OK)
|
||||
self.ae(data, db.cover(2))
|
||||
|
Loading…
x
Reference in New Issue
Block a user