Skip to content

Commit dd2e348

Browse files
authored
test: add test_cli_smoke (#16)
to improve coverage
1 parent 8d77990 commit dd2e348

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_cli.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import subprocess, sys, json
2+
3+
def test_cli_smoke():
4+
result = subprocess.run(
5+
[sys.executable, "-m", "tfsumpy", "--help"],
6+
capture_output=True,
7+
text=True,
8+
check=True,
9+
)
10+
assert "usage" in result.stdout.lower()

0 commit comments

Comments
 (0)