community.general/tests/integration/targets/homebrew/tasks
patchback[bot] df5818282b
[PR #9255/9452a2c8 backport][stable-10] homebrew: fix incorrect handling of aliases (#9289)
homebrew: fix incorrect handling of aliases (#9255)

* Add failing test (See commit description)

Second assert returns this:

changed: [localhost] => changed=true
  changed_pkgs:
  - sqlite3
  msg: 'Changed: 1, Unchanged: 1'
  unchanged_pkgs:
  - sqlite

* Extract proper package_name from brew info using alisases

* Add changelog fragment

* Fix pep8

* Make sure sqlite is uninstalled beforehand

* Use `package_result is (not) changed` syntax in assertions

* Register more explicit names

* Fix handling of casks

(cherry picked from commit 9452a2c8ac)

Co-authored-by: Thibaut Decombe <68703331+UnknownPlatypus@users.noreply.github.com>
2024-12-20 23:27:15 +01:00
..
casks.yml [PR #9255/9452a2c8 backport][stable-10] homebrew: fix incorrect handling of aliases (#9289) 2024-12-20 23:27:15 +01:00
docker.yml Fix the homebrew module failing because of warnings (#8406) 2024-05-26 21:07:09 +02:00
formulae.yml [PR #9255/9452a2c8 backport][stable-10] homebrew: fix incorrect handling of aliases (#9289) 2024-12-20 23:27:15 +01:00
main.yml Move 'docker' homebrew tests into homebrew tests (#8395) 2024-05-20 09:31:23 +02:00