mim/tests
yancong xiao eb0b8270a7
[Refactor] refactor mim uninstall (#135)
* refactor(commands/uninstall.py): refactor mim uninstall

* reload pip._vendor.pkg_resources before uninstall

* update(commands/uninstall.py): use subprocess call_command instead of create_command

* remove --root-user-action option

* update(commands/uninstall.py): use subprocess call_command instead of create_command

* update(commands/uninstall.py): support unknown options pass to pip uninstall

* tests(tests/test_uninstall.py): add test case for mim uninstall

* update(commands/uninstall.py): use the pip official recommend way to invoke pip uninstall

* refine(commands/uninstall.py): use isinstance instead of 'type is' make mypy happy

* combine commits: for ci debug

* combine commits: for ci debug

* Apply suggestions from code review

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-06-24 14:30:31 +08:00
..
data [Fix] Fix and refactor unit tests (#128) 2022-06-14 00:02:58 +08:00
test_download.py [Fix] Fix and refactor unit tests (#128) 2022-06-14 00:02:58 +08:00
test_gridsearch.py [Refactor] refactor mim install (#132) 2022-06-22 20:09:10 +08:00
test_install.py [Refactor] refactor mim install (#132) 2022-06-22 20:09:10 +08:00
test_list.py [Refactor] refactor mim install (#132) 2022-06-22 20:09:10 +08:00
test_run.py [Refactor] refactor mim install (#132) 2022-06-22 20:09:10 +08:00
test_search.py [Chore] Fix the issue that the click version is locked at 7.x (#127) 2022-06-16 15:55:21 +08:00
test_test.py [Refactor] refactor mim install (#132) 2022-06-22 20:09:10 +08:00
test_train.py [Refactor] refactor mim install (#132) 2022-06-22 20:09:10 +08:00
test_uninstall.py [Refactor] refactor mim uninstall (#135) 2022-06-24 14:30:31 +08:00
test_utils.py [Fix] Fix and refactor unit tests (#128) 2022-06-14 00:02:58 +08:00