1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit
patchback[bot] f986b97c9a
[PR #6669/74ffb295 backport][stable-7] rhsm_release: improve the execution of subscription-manager (#6674)
rhsm_release: improve the execution of subscription-manager (#6669)

- pass the arguments to run_command() directly as list, rather than
  joining the arguments to string, which run_command() will need to
  split again
- disable the expansions of variables, as there are none

Adapt the unit test to the different way run_command() is called,
factorizing the kwargs for run_command() so there is less repetition.

There should be no behaviour changes.

(cherry picked from commit 74ffb29573)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2023-06-11 12:05:42 +02:00
..
compat Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
mock Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
plugins [PR #6669/74ffb295 backport][stable-7] rhsm_release: improve the execution of subscription-manager (#6674) 2023-06-11 12:05:42 +02:00
requirements.txt [Scaleway] Add module to manage function namespaces (#5415) 2022-11-02 20:11:04 +01:00
requirements.yml [PR #6549/d643bd57 backport][stable-7] Switch to Ansible Galaxy compatible requirements files for tests (#6552) 2023-05-21 15:11:06 +02:00