From 063ad986d18fdb3ea2cb7137746a6589aafed830 Mon Sep 17 00:00:00 2001 From: Kyle Ferriter Date: Fri, 23 Feb 2024 13:16:34 -0500 Subject: [PATCH] Add a simple argparse test just so tests return status 0 --- test/test_main.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/test_main.py diff --git a/test/test_main.py b/test/test_main.py new file mode 100644 index 0000000..20d2bb0 --- /dev/null +++ b/test/test_main.py @@ -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