Refact: move bopytex.bopytex to service.main

This commit is contained in:
2022-05-04 21:16:27 +02:00
parent 467135abc6
commit 0d614465f0
3 changed files with 16 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import os
import jinja2
from pathlib import Path
from bopytex.bopytex import bopytex
from bopytex.service import main
import pytest
@@ -43,7 +43,7 @@ def test_with_default_planner(template_path, jinja2_env, tmp_path):
},
}
for message in bopytex(**options):
for message in main(**options):
pass
assert Path("joined_source.pdf").exists()