[PR #10822/0911db45 backport][stable-11] pipx: review tests (#10824)

pipx: review tests (#10822)

(cherry picked from commit 0911db457e)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2025-09-13 10:30:52 +02:00 committed by GitHub
commit 0dfa80d386
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 23 additions and 45 deletions

View file

@ -7,7 +7,7 @@
environment:
PATH: /usr/local/bin:{{ ansible_env.PATH }}
block:
- name: Uninstall pycowsay and black
- name: Uninstall pycowsay
community.general.pipx:
state: uninstall
name: pycowsay
@ -54,11 +54,7 @@
- name: Uninstall pycowsay and black (again)
community.general.pipx:
state: uninstall
name: "{{ item }}"
loop:
- black
- pycowsay
register: uninstall_all_2
name: pycowsay
- name: Assert uninstall-all
ansible.builtin.assert: