summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Updating unit tests for new tab completion behaviorKevin Van Brunt2018-03-211-115/+63
| |
* | Merge branch 'master' into quoted_completionKevin Van Brunt2018-03-201-0/+2
|\ \ | |/
| * Fix unit testsTodd Leonhardt2018-03-191-0/+2
| |
| * 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
| |
* | 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
| |
* | Merge branch 'master' into quoted_completionTodd Leonhardt2018-03-181-2/+2
|\ \ | |/
| * Fixed indexes in unit testsKevin Van Brunt2018-03-181-3/+3
| |
* | Backing up workKevin Van Brunt2018-03-181-9/+18
| |
* | First version of allowing quotes in tab completionKevin Van Brunt2018-03-171-8/+8
|/
* Changing how commands are parsed if default_to_shell is TrueKevin Van Brunt2018-03-161-3/+6
|
* Skip test_default_to_shell_completion unit test on WindowsTodd Leonhardt2018-03-161-6/+3
| | | | | | | | Python's built-in cmd module (and cmd2 which inherits from it) parses the command line and has relatively strict rules when parsing the beginning of the line looking for a "command". This command can must consist of ASCII letters and digits. The parsing logic applies prior to the default_to_shell flag attempting to run this "command" as a shell command. A problem occurs on Windows in that nearly all executables have a "." in their name. cmd/cmd2 will view everything before the "." as being the command. On Windows, I would strongly encourage the use of "!" or "shell" to run shell commands and would recommend against using the "default_to_shell" flag unless you are working within the Windows Subsystem for Linux (WSL).
* Merge branch 'master' into default_on_shell_unit_testsKevin Van Brunt2018-03-161-5/+86
|\
| * Fix unit tests and exampleTodd Leonhardt2018-03-161-4/+11
| | | | | | | | | | | | functools.partialmethod() was added in Python 3.4, so it can't be used in Python 2.7. - Modified the code to skip trying to use it for Python 2.7 - Skip the two unit tests which test its usage on Python 2.7
| * Added unit tests and examples for tab completion of subcommandsKevin Van Brunt2018-03-161-5/+79
| |
* | Added unit test for completing when default_to_shell is TrueKevin Van Brunt2018-03-161-0/+39
|/
* Added unit tests for alias, unalias, and basic_completeKevin Van Brunt2018-03-162-2/+80
|
* Pushed fix for test_transcriptTodd Leonhardt2018-03-161-2/+2
|
* Fixed unit testKevin Van Brunt2018-03-161-1/+2
|
* Merge branch 'alias' of github.com:python-cmd2/cmd2 into aliasKevin Van Brunt2018-03-161-1/+1
|\
| * Fixed bug where positional argument was given after keyword argumentsTodd Leonhardt2018-03-161-1/+1
| |
* | More unit test fixesKevin Van Brunt2018-03-162-5/+11
|/
* Fixing unit testsKevin Van Brunt2018-03-162-3/+6
|
* No longer need to manually specify subcommand names for tab completionKevin Van Brunt2018-03-142-8/+2
|
* Added table_display.pyTodd Leonhardt2018-03-141-1/+1
| | | | | | | | Added example showing how to display tabular data in a cmd2 application. Also: - Updated CHANGELOG with data on all PRs since last release - Bumped version to 0.8.2 in preparation for next release
* add tests for preserve sharesAlberto Sartori2018-03-141-11/+41
|
* Merge branch 'master' into fix/submenu-require-sharesTodd Leonhardt2018-03-131-0/+41
|\
| * Added option to cancel the current line on keyboard interrupt.Mark Lalor2018-03-121-0/+41
| |
* | AddSubMenu should work with default kwargsAlberto Sartori2018-03-131-1/+14
|/
* missing args in calling completenamesAlberto Sartori2018-03-121-21/+265
|
* Added a few unit testsTodd Leonhardt2018-03-031-0/+28
|
* Removed support for case-insensitive command parsingTodd Leonhardt2018-03-023-41/+11
|
* Added use of pytest-forked to CI unit test runsTodd Leonhardt2018-03-021-35/+0
| | | | | | | Due to apparent bugs in pyparsing, this can significantly speed up unit test execution. Also: - Removed use of pexpect in unit tests
* Added back the unit test of exclude_from_historyTodd Leonhardt2018-03-021-0/+24
|
* Fixed unit test on WindowsKevin Van Brunt2018-03-021-4/+4
|
* Removed abbrev attributeKevin Van Brunt2018-03-027-66/+6
|
* Fixed slicing bugKevin Van Brunt2018-03-021-1/+1
|
* Fixed some parsing bugs and added more unit testsKevin Van Brunt2018-03-021-6/+59
|