From 2cc07ec8e739517992788dc8eb858a6d40eb24f3 Mon Sep 17 00:00:00 2001 From: kotfu Date: Sun, 29 Jul 2018 19:44:18 -0600 Subject: Add test to assert cmd2.__version__ exists --- tests/test_cmd2.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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('') -- cgit v1.2.1