Skip to content

Commit

Permalink
tweak test for generate interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlevin authored Feb 8, 2024
1 parent feb0dcc commit 1647b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def test_generate_asymptote(tmp_path: Path, script_runner: ScriptRunner) -> None
def test_generate_interactive(tmp_path: Path, script_runner: ScriptRunner) -> None:
int_path = tmp_path / "interactive"
shutil.copytree(EXAMPLES_DIR / "projects" / "interactive", int_path)
script_runner.run([PTX_CMD, "-v", "debug", "view", "-s"])
assert script_runner.run(
[PTX_CMD, "-v", "debug", "generate", "-t", "pdf"], cwd=int_path
).success
Expand Down

0 comments on commit 1647b6a

Please sign in to comment.