summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
Commit message (Collapse)AuthorAgeFilesLines
* No longer running test_path_completion_complete_user unit test on WindowsKevin Van Brunt2018-04-261-5/+6
|
* Backport bugfix related to help completion on commands using ↵Eric Lin2018-04-201-49/+176
| | | | with_argparser_and_unknown_args.
* Renamed variable to match what its called in cmd2.pyKevin Van Brunt2018-04-151-6/+6
|
* Updated comments and examplesKevin Van Brunt2018-04-151-1/+1
|
* More unit tests and commentsKevin Van Brunt2018-04-151-3/+18
|
* More opening quote unit testsKevin Van Brunt2018-04-151-3/+63
|
* Unit tests for adding opening quoteKevin Van Brunt2018-04-151-18/+68
|
* Simplifying adding opening quotesKevin Van Brunt2018-04-131-4/+1
|
* Trying to fix Windows unit test when running on AppVeyorKevin Van Brunt2018-04-131-3/+3
|
* Added some basic user completion on WindowsKevin Van Brunt2018-04-131-6/+2
|
* Allowing the use of ~user expansion in pathsKevin Van Brunt2018-04-121-14/+12
|
* Added alias parse_line unit testKevin Van Brunt2018-04-021-0/+10
|
* Removed unnecessary sorting and duplicate removal from the completers since allKevin Van Brunt2018-03-311-10/+18
| | | | | | results from these functions are returned to complete() which already does these things. These changes also provide better examples of what is required to write a completer and what isn't.
* Simplified how to add tab completion to a subcommandKevin Van Brunt2018-03-281-8/+14
|
* Fixed a case where display_matches wasn't being set. Added unit tests.Kevin Van Brunt2018-03-271-10/+44
|
* Reorganized some unit testsKevin Van Brunt2018-03-271-4/+43
|
* Added more unit testsKevin Van Brunt2018-03-271-1/+16
|
* Added unit testsKevin Van Brunt2018-03-271-16/+69
|
* Fixed indexing bug and unit testKevin Van Brunt2018-03-261-2/+2
|
* Removed unit testKevin Van Brunt2018-03-251-11/+0
|
* Fixing unit testsKevin Van Brunt2018-03-251-131/+78
|
* Merge branch 'master' into new_quoted_completionKevin Van Brunt2018-03-231-3/+4
|\
| * Fixed check for whether a subcommand was enteredKevin Van Brunt2018-03-231-4/+5
| |
* | Added shell_cmd_complete() as a stand alone tab-completion function.Kevin Van Brunt2018-03-231-50/+9
| | | | | | | | Added sorting back to completion routines since they don't depend on a cmd2 instance to do it in complete()
* | Fixed unit testsKevin Van Brunt2018-03-221-5/+10
| |
* | Increased coverage of completion testsKevin Van Brunt2018-03-221-56/+105
| |
* | All existing tab completion unit tests workKevin Van Brunt2018-03-211-166/+42
| |
* | Finished subcommand completion unit testsKevin Van Brunt2018-03-211-80/+28
| |
* | Finished basic, flag, and index completion unit testsKevin Van Brunt2018-03-211-67/+36
| |
* | Fixed all path matching unit testsKevin Van Brunt2018-03-211-25/+7
| |
* | More unit test updatesKevin Van Brunt2018-03-211-18/+19
| |
* | More unit test fixingKevin Van Brunt2018-03-211-27/+10
| |
* | Merge branch 'master' into new_quoted_completionKevin Van Brunt2018-03-211-1/+13
|\ \ | |/
| * Fix unit tests on macOS when gnureadline is installedTodd Leonhardt2018-03-211-1/+13
| | | | | | | | As similar try/except needed to be added to a couple unit test files to try to import gnureadline as readline and fallback to importing readline.
| * Increased test coverageKevin Van Brunt2018-03-181-2/+11
| |
| * Making unit test do the intended testKevin Van Brunt2018-03-181-1/+1
| |
| * Fixing more unit testsKevin Van Brunt2018-03-181-7/+4
| |
| * Fixed how we complete ~Kevin Van Brunt2018-03-181-5/+18
| |
* | Updating unit tests for new tab completion behaviorKevin Van Brunt2018-03-211-115/+63
| |
* | Fixed some unit testsKevin Van Brunt2018-03-201-3/+3
| |
* | Fixed unit testKevin Van Brunt2018-03-191-1/+1
| |
* | Updated unit tests to reflect new completion behaviorKevin Van Brunt2018-03-191-149/+16
| |
* | Unit test for cursor right after closing quoteKevin Van Brunt2018-03-191-0/+27
| |
* | More quoted completion unit testsKevin Van Brunt2018-03-191-2/+6
| |
* | Added unit tests for completions with quotesKevin Van Brunt2018-03-191-0/+25
| |
* | Allowing quotes in help commandKevin Van Brunt2018-03-191-5/+4
| |
* | Added unit tests for new completersKevin Van Brunt2018-03-191-0/+29
| |
* | Updated remaining completion functions to handle spaces within quotesKevin Van Brunt2018-03-181-11/+11
| |
* | Merging in testsKevin Van Brunt2018-03-181-2/+11
| |
* | Merging stuff from other branchesKevin Van Brunt2018-03-181-16/+17
| |