Skip to content

Commit

Permalink
include coverage of key_req subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
lilatomic committed Nov 12, 2023
1 parent c81151c commit b370f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/key_req.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def install(tmpdir, install):
with open(launcher_path, mode="w", encoding="utf-8") as launcher:
launcher.write(textwrap.dedent(f"""\
#!/bin/bash
{sys.executable} {Path(__file__)} $@
cd {Path(__file__).parent.parent}
{sys.executable} -m coverage run {Path(__file__)} $@
"""))
os.chmod(launcher_path, 0o755)

Expand Down

0 comments on commit b370f64

Please sign in to comment.