self.assertEqual([r.text.strip() for r in replies],
["This is glowfic", "You sure?", "Pretty sure."])
def testProcess(self) -> None:
self.assertEqual([r.text.strip() for r in replies],
["This is glowfic", "You sure?", "Pretty sure."])
def testProcess(self) -> None:
- f"http://localhost:{self._port}", f, buf, 'pandoc')
+ f"http://localhost:{self._port}", f, texifier, buf)
with DirectFetcher(TIMEOUT) as f:
with open("test.tex", 'wb') as out:
paperdoorknob.process(
with DirectFetcher(TIMEOUT) as f:
with open("test.tex", 'wb') as out:
paperdoorknob.process(
- f"http://localhost:{self._port}", f, out, 'pandoc')
+ f"http://localhost:{self._port}", f, texifier, out)
subprocess.run(['pdflatex', 'test.tex'],
stdin=subprocess.DEVNULL, check=True)
subprocess.run(['pdflatex', 'test.tex'],
stdin=subprocess.DEVNULL, check=True)