summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed unit test on WindowsKevin Van Brunt2019-07-241-4/+4
|
* Updated unit testsKevin Van Brunt2019-07-242-11/+14
|
* Added unit testsKevin Van Brunt2019-07-241-8/+35
|
* Added unit testsKevin Van Brunt2019-07-243-4/+65
|
* Fixed a few commands that would have failed if arguments containing quotes ↵Kevin Van Brunt2019-07-241-1/+1
| | | | were used
* 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
* Increased coverageKevin Van Brunt2019-07-231-5/+10
|
* Fixed issue where run_pyscript failed if the script's filename had a spaceKevin Van Brunt2019-07-237-23/+32
|
* Changed error messagesKevin Van Brunt2019-07-211-2/+2
|
* Added unit testKevin Van Brunt2019-07-211-0/+15
|
* Changed warning textKevin Van Brunt2019-07-211-1/+1
|
* Added unit testKevin Van Brunt2019-07-211-1/+17
|
* Added mock to unit testKevin Van Brunt2019-07-201-0/+3
|
* Added unit test for run_scriptKevin Van Brunt2019-07-201-0/+6
|
* Fixed unit testsKevin Van Brunt2019-07-201-6/+15
|
* Renamed PyscriptBridge to PyBridgeKevin Van Brunt2019-07-201-1/+1
|
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-193-31/+31
|
* Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵Kevin Van Brunt2019-07-182-28/+29
| | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py.
* Added unit tests for tab completing multiline commandsKevin Van Brunt2019-07-171-10/+46
|
* Added unit tests to cover invalid subcommand names in completionsKevin Van Brunt2019-07-161-1/+24
|
* Skipping unit test on non-Windows because of unreliable behavior on TravisCI ↵Kevin Van Brunt2019-07-161-1/+2
| | | | and Azure DevOps platforms
* Merge branch 'master' into default_sort_keyKevin Van Brunt2019-07-161-4/+4
|\
| * Fixed documentation for run_script and renamed history optionKevin Van Brunt2019-07-161-4/+4
| |
* | Moved the sorting of shortcuts into StatementParser which allows users to ↵Kevin Van Brunt2019-07-162-2/+2
| | | | | | | | pass in a dictionary instead of a tuple for shortcuts.
* | Renamed matches_sort_key to default_sort_key and using it to sort additional dKevin Van Brunt2019-07-152-10/+10
|/
* Changed format of help where nargs is a number greater than 1Kevin Van Brunt2019-07-151-33/+28
|
* More unit testsKevin Van Brunt2019-07-151-9/+47
|
* Added unit testsKevin Van Brunt2019-07-151-10/+55
|
* Added ability to specify nargs ranges with no upper boundKevin Van Brunt2019-07-152-27/+17
|
* Make max_completion_items settableKevin Van Brunt2019-07-152-0/+3
|
* Made a few module functions protectedKevin Van Brunt2019-07-151-18/+18
|
* Added more hint unit testsKevin Van Brunt2019-07-121-29/+46
|
* Simplified unit testsKevin Van Brunt2019-07-121-19/+3
|
* More unit testsKevin Van Brunt2019-07-121-0/+3
|
* More unit testsKevin Van Brunt2019-07-121-1/+17
|
* Added unit tests for unfinished flag errorsKevin Van Brunt2019-07-121-7/+46
|
* Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-122-25/+24
|
* Refactored much of AutoCompleter.complete_command.Kevin Van Brunt2019-07-111-22/+31
| | | | | Fixed issue where negative numbers did not tab complete. AutoCompleter now prints an error if flags are left unfinished before moving to next argument.
* Removed unused code and add unit testKevin Van Brunt2019-07-111-0/+30
|
* Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-112-4/+4
|\
| * Restore self.statement_parser to a public attribute in cmd2.CmdTodd Leonhardt2019-07-102-4/+4
| |
* | More unit testsKevin Van Brunt2019-07-101-123/+36
| |
* | Small refactoringKevin Van Brunt2019-07-101-2/+2
| |
* | Added unit tests for argparse_custom.pyKevin Van Brunt2019-07-101-7/+101
| |
* | Added unit testsKevin Van Brunt2019-07-101-1/+17
| |
* | Fixed some double-dash handling logic added unit testsKevin Van Brunt2019-07-101-45/+57
| |
* | Fixed bug where -- wasn't stopping a REMAINDER flag and did a lot of refactoringKevin Van Brunt2019-07-101-4/+8
| |
* | Added some tests for REMAINDER flagsKevin Van Brunt2019-07-101-8/+29
| |
* | Resetting consumed arguments list each time a flag is usedKevin Van Brunt2019-07-081-16/+79
| | | | | | | | Started adding AutoCompleter unit tests for nargs.