Skip to content

Commit

Permalink
Add a simple argparse test just so tests return status 0
Browse files Browse the repository at this point in the history
  • Loading branch information
theferrit32 committed Feb 23, 2024
1 parent 2b916ec commit 063ad98
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from clinvar_gk_pilot.main import parse_args


def test_parse_args():
argv = ["--filename", "test.txt"]
opts = parse_args(argv)
assert opts["filename"] == "test.txt"
assert len(opts) == 1

0 comments on commit 063ad98

Please sign in to comment.