Skip to content

Commit

Permalink
test: add basic test for debug subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Sep 19, 2024
1 parent 713d101 commit 5db9130
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def test_help():
assert "XAVIER" in shell_run("./bin/xavier --help")


def test_debug():
out = shell_run("./bin/xavier debug")
assert all(["xavier (v" in out, "BASE: /" in out, "VERSION FILE: /" in out])


def test_dryrun_targets():
if get_hpcname() == "biowulf":
output_human, config_human = run_in_temp(f"{xavier_run} --genome hg38")
Expand Down

0 comments on commit 5db9130

Please sign in to comment.