community.general/tests/integration/targets/homebrew/tasks
Thibaut Decombe 9452a2c8ac
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
2024-12-20 22:53:41 +01:00
..
casks.yml homebrew: fix incorrect handling of aliases (#9255) 2024-12-20 22:53:41 +01:00
docker.yml Fix the homebrew module failing because of warnings (#8406) 2024-05-26 21:07:09 +02:00
formulae.yml homebrew: fix incorrect handling of aliases (#9255) 2024-12-20 22:53:41 +01:00
main.yml Move 'docker' homebrew tests into homebrew tests (#8395) 2024-05-20 09:31:23 +02:00