summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmd2.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 6115c1cd..3324a105 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -28,6 +28,9 @@ from .conftest import run_cmd, normalize, BASE_HELP, BASE_HELP_VERBOSE, \
HELP_HISTORY, SHORTCUTS_TXT, SHOW_TXT, SHOW_LONG, StdOut
+def test_version(base_app):
+ assert cmd2.__version__
+
def test_empty_statement(base_app):
out = run_cmd(base_app, '')
expected = normalize('')