summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
* Updated unit testsKevin Van Brunt2019-07-241-7/+6
|
* Added unit testsKevin Van Brunt2019-07-241-8/+35
|
* Added unit testsKevin Van Brunt2019-07-241-2/+32
|
* Fixed bug where completer function of disabled command would still runKevin Van Brunt2019-07-241-33/+78
|
* Removed restriction on macros named after non-multiline commandsKevin Van Brunt2019-07-231-3/+36
| | | | Added unit tests
* Fixed issue where run_pyscript failed if the script's filename had a spaceKevin Van Brunt2019-07-231-11/+1
|
* Changed error messagesKevin Van Brunt2019-07-211-2/+2
|
* Added unit testKevin Van Brunt2019-07-211-0/+15
|
* Added mock to unit testKevin Van Brunt2019-07-201-0/+3
|
* Added unit test for run_scriptKevin Van Brunt2019-07-201-0/+6
|
* Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-111-2/+2
|\
| * Restore self.statement_parser to a public attribute in cmd2.CmdTodd Leonhardt2019-07-101-2/+2
| |
* | Added ability to limit how many CompletionItems display at a timeKevin Van Brunt2019-07-061-1/+1
| |
* | Display set command tab-completion results as CompletionItemsKevin Van Brunt2019-07-061-16/+14
| |
* | Made alias and macro tab completion lookup results use CompletionItemsKevin Van Brunt2019-07-061-4/+17
|/
* Added unit test for passing transcript_files during Cmd __init__Todd Leonhardt2019-06-291-2/+7
|
* Added unit test for startup_script functionalityTodd Leonhardt2019-06-291-0/+13
|
* Remove load, _relative_load, pyscript aliases whichTodd Leonhardt2019-06-291-12/+2
| | | | | | These commands were renamed in the last release, but aliases were created along with warnings to help aid the transition. The command aliases are now being removed in this release.
* Always set the canonical version allow_ansi' string valueKevin Van Brunt2019-06-291-9/+16
|
* Handling alternate cases of allow_ansi valuesKevin Van Brunt2019-06-291-0/+3
|
* Added validation when setting allow_ansiKevin Van Brunt2019-06-291-0/+14
|
* Simplified ansi color dictionaries and lookup methodsTodd Leonhardt2019-06-271-16/+19
| | | | | | | Also: - Updated examples that use color to use cmd2.ansi instead of colorama - Updated tests that use color to use cmd2.ansi instead of colorama - plumbum_colorspy example shows how to override color lookup functions to use a different color library
* Added unit tests for ansi.pyKevin Van Brunt2019-06-271-2/+2
|
* Made allow_ansi an application-wide setting and moved it to ansi.pyKevin Van Brunt2019-06-271-14/+10
|
* More replacing of 'colors' with 'allow_ansi'Kevin Van Brunt2019-06-261-4/+4
|
* Renamed colors setting to allow_ansiKevin Van Brunt2019-06-261-32/+32
|
* Changed signature of style() to allow for simpler calling and overriding of ↵Kevin Van Brunt2019-06-261-2/+2
| | | | settings in a provided TextStyle
* Added TextStyle class and default implementations for various message types ↵Kevin Van Brunt2019-06-261-2/+2
| | | | like Warning, Error, and Succes
* Moved code related to ANSI escape codes to new file called ansi.pyKevin Van Brunt2019-06-261-12/+12
|
* Renamed style_message to styleKevin Van Brunt2019-06-261-2/+2
|
* Removed color args from poutput since the style function is going to do more ↵Kevin Van Brunt2019-06-251-4/+4
| | | | than color
* Replaced more pexcept uses with perrorKevin Van Brunt2019-06-251-3/+3
|
* Revert change in test_poutput_color_alwaysDaniel Ahn2019-06-241-1/+1
|
* Initial Commit for Issue 698xNinjaKittyx2019-06-241-8/+6
|
* Made last_result public and restored the initialization of it in __init__ ↵Todd Leonhardt2019-06-231-12/+12
| | | | and associated comment
* Added verify_help_text() helper function for tests and removed BASE_HELP and ↵Todd Leonhardt2019-06-151-108/+38
| | | | | | BASE_HELP_VERBOSE constants The tests are now much more resilient to adding, removing, or renaming commands
* Updated CHANGELOG and made some more methods protectedTodd Leonhardt2019-06-151-3/+3
|
* Made more methods protectedTodd Leonhardt2019-06-151-3/+3
|
* Began work to minimize public APITodd Leonhardt2019-06-151-5/+5
|
* Fix unit test failures I introduced in last commitTodd Leonhardt2019-06-151-1/+1
|
* Added unit testsKevin Van Brunt2019-06-151-3/+12
|
* Updated unit testsKevin Van Brunt2019-06-151-34/+1
|
* Fixing unit testsKevin Van Brunt2019-06-151-53/+31
|
* Fixed unit testsKevin Van Brunt2019-06-151-21/+24
|
* Fixing unit testsKevin Van Brunt2019-06-151-2/+2
|
* Merge branch 'master' into history_fixesKevin Van Brunt2019-06-141-129/+130
|\
| * Fixed unit testsKevin Van Brunt2019-06-121-44/+41
| |
| * Removed support for cmd.cmdqueueKevin Van Brunt2019-06-111-15/+18
| | | | | | | | allow_cli_args is now an argument to __init__ instead of a cmd2 class member
| * Removed copyright headers from source files and updated LICENSE with current ↵Kevin Van Brunt2019-06-071-3/+0
| | | | | | | | year
| * Removed self._should_quit from cmd2 and add logic to PyscriptBridge to ↵Kevin Van Brunt2019-06-071-1/+0
| | | | | | | | | | | | return whether a command returned True for stop. Added stop to CommandResult so pyscripts can now know the return value of a command's do_* function.