diff options
author | Jiri Hnidek <jhnidek@redhat.com> | 2020-02-11 00:21:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 15:21:16 -0800 |
commit | 69ba90098a2a7d8cdc9374b7b8817b4e41c088f6 (patch) | |
tree | 83c4f20baa0ce3d659880a200ba21bd522f65ebe /test/units | |
parent | f54263c459a8744199f61b3791ac516aa15ffd21 (diff) | |
download | ansible-69ba90098a2a7d8cdc9374b7b8817b4e41c088f6.tar.gz |
When no pool quantity is set, then do not set quantity to 1 (#66807) (#66933)
* Fixes #66478
* When no quantity is set, then candlepin server usually uses
default value 1. When more quantities are required, then
candlepin server can automatically choose correct minimal
value.
(cherry picked from commit 6f1bb37feb81acd99157f5ba0933fecd747015a2)
Diffstat (limited to 'test/units')
-rw-r--r-- | test/units/modules/packaging/os/test_redhat_subscription.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/units/modules/packaging/os/test_redhat_subscription.py b/test/units/modules/packaging/os/test_redhat_subscription.py index 50c714b1e7..b2a11894fa 100644 --- a/test/units/modules/packaging/os/test_redhat_subscription.py +++ b/test/units/modules/packaging/os/test_redhat_subscription.py @@ -557,8 +557,7 @@ Entitlement Type: Physical [ '/testbin/subscription-manager', 'attach', - '--pool', 'ff8080816b8e967f016b8e99632804a6', - '--quantity', '1' + '--pool', 'ff8080816b8e967f016b8e99632804a6' ], {'check_rc': True}, (0, '', '') @@ -567,8 +566,7 @@ Entitlement Type: Physical [ '/testbin/subscription-manager', 'attach', - '--pool', 'ff8080816b8e967f016b8e99747107e9', - '--quantity', '1' + '--pool', 'ff8080816b8e967f016b8e99747107e9' ], {'check_rc': True}, (0, '', '') @@ -658,7 +656,6 @@ Entitlement Type: Physical '/testbin/subscription-manager', 'attach', '--pool', 'ff8080816b8e967f016b8e99632804a6', - '--quantity', '1' ], {'check_rc': True}, (0, '', '') |