diff options
author | kotfu <kotfu@kotfu.net> | 2018-07-29 19:44:18 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-07-29 19:44:18 -0600 |
commit | 2cc07ec8e739517992788dc8eb858a6d40eb24f3 (patch) | |
tree | e89408529990954a863d8d9d4743045c571e3c1f /tests | |
parent | f3557f63d55287848c1bc4ef7cf7c2b182c68c24 (diff) | |
download | cmd2-git-2cc07ec8e739517992788dc8eb858a6d40eb24f3.tar.gz |
Add test to assert cmd2.__version__ exists
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cmd2.py | 3 |
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('') |