diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-04-25 12:42:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 12:42:37 -0400 |
commit | d4653e6fccf0bc15d04075110769c11befb22819 (patch) | |
tree | a04ca95d6f67bae491f290cc71036d2a4f6b168c /tests/test_cmd2.py | |
parent | 9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff) | |
parent | 9b78cf4913202995dcf065ecf5077bf16fa01f95 (diff) | |
download | cmd2-git-d4653e6fccf0bc15d04075110769c11befb22819.tar.gz |
Merge pull request #931 from python-cmd2/branching_strategy
Added info on SemVer and branching strategy to CONTRIBUTING.md
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-x | tests/test_cmd2.py | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index fdeea9aa..33f75c9e 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -13,16 +13,27 @@ from code import InteractiveConsole import pytest +import cmd2 +from cmd2 import COMMAND_NAME, ansi, clipboard, constants, exceptions, plugin, utils + +from .conftest import ( + HELP_HISTORY, + SHORTCUTS_TXT, + SHOW_LONG, + SHOW_TXT, + complete_tester, + normalize, + odd_file_names, + run_cmd, + verify_help_text, +) + # Python 3.5 had some regressions in the unitest.mock module, so use 3rd party mock if available try: import mock except ImportError: from unittest import mock -import cmd2 -from cmd2 import ansi, clipboard, constants, exceptions, plugin, utils, COMMAND_NAME -from .conftest import (run_cmd, normalize, verify_help_text, HELP_HISTORY, SHORTCUTS_TXT, SHOW_TXT, - SHOW_LONG, complete_tester, odd_file_names) def CreateOutsimApp(): c = cmd2.Cmd() |