Feat: Organize script to work in CLI

This commit is contained in:
2022-05-04 18:00:54 +02:00
parent 9d7f779f07
commit d9bd4ca5a1
5 changed files with 34 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ def template_path(tmp_path):
\\begin{document}
First document.
Subject {{ subject }}
Subject {{ number }}
\\end{document}
"""
)
@@ -43,7 +43,8 @@ def test_with_default_planner(template_path, jinja2_env, tmp_path):
},
}
bopytex(**options)
for message in bopytex(**options):
pass
assert Path("joined_source.pdf").exists()