diff options
Diffstat (limited to 'test/integration/targets/pip')
-rw-r--r-- | test/integration/targets/pip/tasks/pip.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/integration/targets/pip/tasks/pip.yml b/test/integration/targets/pip/tasks/pip.yml index fe7c7da080..44c00a786b 100644 --- a/test/integration/targets/pip/tasks/pip.yml +++ b/test/integration/targets/pip/tasks/pip.yml @@ -166,3 +166,20 @@ assert: that: - "not q_check_mode.changed" + +# ansible#23204 +- name: ensure is a fresh virtualenv + file: + state: absent + name: "{{ output_dir }}/pipenv" + +- name: install pip throught pip into fresh virtualenv + pip: + name: pip + virtualenv: "{{ output_dir }}/pipenv" + register: pip_install_venv + +- name: make sure pip in fresh virtualenv report changed + assert: + that: + - "pip_install_venv.changed" |