thefuck/tests
Philip Arola d10fc80fa5 Add choco_install rule (#998)
* Add choco_install rule

Adds a rule to append '.install' to a chocolatey install command that
failed because of a non-existent package.

TODO: add support for other suffixes (.portable), find more parameter
cases

* Apply suggestions from code review

Circling back to retest

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>

* Fixed errors from suggested changes

* Added more test cases, refactored parsing

* Reformat keyword detection if statement

* Fixed flake errors

* Added tests for match
2019-11-07 01:10:00 +01:00
..
entrypoints #682: Ensure that `script` exists 2017-09-03 10:10:50 +02:00
functional #N/A: Remove performance tests as they are meaningless with the current implementation 2018-11-21 19:44:07 +01:00
output_readers Some improvements (#846) 2018-10-08 22:32:30 +02:00
rules Add choco_install rule (#998) 2019-11-07 01:10:00 +01:00
shells #N/A: Improve how version is fetched for all shells (#920) 2019-05-27 18:24:55 +02:00
specific #682: Unify work with output in classic and instant mode 2017-08-31 17:58:56 +02:00
__init__.py Fix tests with python 2 2015-04-25 03:13:57 +02:00
conftest.py #N/A: Fix tests with pytest 4 2019-01-15 00:35:28 +01:00
test_argument_parser.py #682: Use our own shell logger, fix experimental instant mode on macos 2017-10-08 16:17:41 +02:00
test_conf.py Some improvements (#846) 2018-10-08 22:32:30 +02:00
test_corrector.py #682: Unify work with output in classic and instant mode 2017-08-31 17:58:56 +02:00
test_logs.py Fix some more warnings from flake8 2015-11-15 18:08:59 +01:00
test_readme.py Minor refactoring 2015-09-08 15:24:49 +03:00
test_types.py #682: Unify work with output in classic and instant mode 2017-08-31 17:58:56 +02:00
test_ui.py #682: Fix tests and flake8 2017-08-26 06:16:51 +02:00
test_utils.py #902: Use `os.pathsep` to split PATH env var (#917) 2019-05-21 20:47:47 +02:00
utils.py #682: Unify work with output in classic and instant mode 2017-08-31 17:58:56 +02:00