def testProcess(self) -> None:
buf = io.BytesIO()
+ texifier = PandocTexifier('pandoc')
spec = Spec(
self.url(),
self.fetcher(),
FakeImageStore(),
lambda x: x,
lambda x: None,
+ texifier,
lambda x: x,
20,
- ContentOnlyLayout(PandocTexifier('pandoc')),
+ ContentOnlyLayout(texifier),
'margin=20mm',
buf,
lambda _: None)
FakeImageStore(),
lambda x: x,
lambda x: None,
+ texifier,
lambda x: x,
20,
ContentOnlyLayout(texifier),
paperdoorknob.process(spec)
def testPDF(self) -> None:
+ texifier = PandocTexifier('pandoc')
with open("test.tex", 'wb') as out:
spec = Spec(
self.url(),
FakeImageStore(),
lambda x: x,
lambda x: None,
+ texifier,
lambda x: x,
20,
- BesideIconLayout(PandocTexifier('pandoc')),
+ BesideIconLayout(texifier),
None,
out,
lambda _: None)