summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Updated version numberKevin Van Brunt2018-08-011-1/+1
|
* Backported file open crash fixes for Issue #430 to python2 branchTodd Leonhardt2018-06-072-1/+66
| | | | | | Also: - Bumped version on python2 branch to 0.8.8 - Updated CHANGELOG
* Trying 0.8.7 for #4210.8.7kotfu2018-05-281-1/+1
|
* Update version to 0.8.6.1 for #4210.8.6.1kotfu2018-05-281-1/+1
|
* no dashes in rc version0.8.7rc1kotfu2018-05-281-1/+1
|
* Add ‘python-requires >= 2.7’ for #421kotfu2018-05-281-1/+1
|
* No longer running test_path_completion_complete_user unit test on WindowsKevin Van Brunt2018-04-261-5/+6
|
* Added to changelog. Maybe fixed mock import on 2.7Eric Lin2018-04-211-1/+4
|
* Backport bugfix related to help completion on commands using ↵Eric Lin2018-04-202-49/+223
| | | | with_argparser_and_unknown_args.
* Created python2 branch for 0.8.x bug fix releasesTodd Leonhardt2018-04-151-1/+1
| | | | | Also: - Bumped version to 0.8.6 on this branch
* 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
|
* Preparation for 0.8.5 releaseTodd Leonhardt2018-04-131-1/+1
| | | | | - Bumped version to 0.8.5 - Added details to CHANGELOG.md regarding recent changes
* 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 a with_category decorator that can be used to tag a command category.Eric Lin2018-04-112-5/+3
| | | | | | | | | Changed the detection of with_argparse decorated commands to be less hacky/brittle. Now it tags the function with help_summary. Fixed issue with handling commands that provide a custom help_ function. We can now redirect the output to a string to be formatted with the other commands. Added some documentation explaining the new help categories. Updated unit tests.
* Fixed issue where categorization is skipped when there's a help_<command> ↵Eric Lin2018-04-112-2/+119
| | | | | | | | function provided. In verbose help, added check for argparse usage block (starting with 'usage: '), to skip that block and move to the next comment block Added unit tests for new categorization code Updated example to demonstrate skipping of argparse usage statement
* Preparing for 0.8.4 release0.8.4Kevin Van Brunt2018-04-101-1/+1
|
* Updated version number of release0.8.3Kevin Van Brunt2018-04-091-1/+1
|
* Don't try to load empty or non-existent startup scriptKevin Van Brunt2018-04-021-1/+1
|
* Added alias parse_line unit testKevin Van Brunt2018-04-021-0/+10
|
* Added ability to query individual aliasKevin Van Brunt2018-04-021-0/+10
|
* Allow an alias name to match a command nameKevin Van Brunt2018-03-311-5/+0
|
* 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-272-75/+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-252-148/+89
|
* 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-212-2/+25
|\ \ | |/
| * Fix unit tests on macOS when gnureadline is installedTodd Leonhardt2018-03-212-2/+25
| | | | | | | | 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.