Skip to content

Commit 2cc07ec

Browse files
committed
Add test to assert cmd2.__version__ exists
1 parent f3557f6 commit 2cc07ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_cmd2.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
HELP_HISTORY, SHORTCUTS_TXT, SHOW_TXT, SHOW_LONG, StdOut
2929

3030

31+
def test_version(base_app):
32+
assert cmd2.__version__
33+
3134
def test_empty_statement(base_app):
3235
out = run_cmd(base_app, '')
3336
expected = normalize('')

0 commit comments

Comments
 (0)