diff options
author | Zhikang Zhang <zzhang63@ncsu.edu> | 2018-11-26 11:12:36 -0500 |
---|---|---|
committer | Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | 2018-11-26 17:12:36 +0100 |
commit | 93c5781f61aa13c951c06840f5c611698710461c (patch) | |
tree | 6709e0fdae33be16e975c8911c80ceaa412bf44a /test/integration/targets/pip | |
parent | 3a9eadb22f4996691188031df1d0545e6f045103 (diff) | |
download | ansible-93c5781f61aa13c951c06840f5c611698710461c.tar.gz |
pip: Fix the mistake replacement from 'distribute' to 'setuptools' (#47403)
* Fix the mistake replace from distribute to setuptools
* Add a testcase for this bug
Diffstat (limited to 'test/integration/targets/pip')
-rw-r--r-- | test/integration/targets/pip/tasks/pip.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/pip/tasks/pip.yml b/test/integration/targets/pip/tasks/pip.yml index b7036de99d..7c924d5a0e 100644 --- a/test/integration/targets/pip/tasks/pip.yml +++ b/test/integration/targets/pip/tasks/pip.yml @@ -499,3 +499,15 @@ pip: name: "{{ pip_test_packages }}" state: absent + +# https://github.com/ansible/ansible/issues/47198 +- name: try to remove distribute + pip: + state: "absent" + name: "distribute" + ignore_errors: yes + register: remove_distribute + +- name: inspect the cmd + assert: + that: "'distribute' in remove_distribute.cmd" |