mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
97ecdad95e
commit
c118d19e38
@ -204,6 +204,13 @@ def test_save_to(src, dest):
|
|||||||
print('Wrote PDF of size:', out.tell())
|
print('Wrote PDF of size:', out.tell())
|
||||||
|
|
||||||
|
|
||||||
|
def test_roundtrip(src, dest):
|
||||||
|
podofo = get_podofo()
|
||||||
|
p = podofo.PDFDoc()
|
||||||
|
p.open(src)
|
||||||
|
p.save(dest)
|
||||||
|
|
||||||
|
|
||||||
def test_podofo():
|
def test_podofo():
|
||||||
import tempfile
|
import tempfile
|
||||||
from calibre.ebooks.metadata.book.base import Metadata
|
from calibre.ebooks.metadata.book.base import Metadata
|
||||||
|
Loading…
x
Reference in New Issue
Block a user