summaryrefslogtreecommitdiff
path: root/test/units
diff options
context:
space:
mode:
authorJiri Hnidek <jhnidek@redhat.com>2020-02-11 00:21:16 +0100
committerGitHub <noreply@github.com>2020-02-10 15:21:16 -0800
commit69ba90098a2a7d8cdc9374b7b8817b4e41c088f6 (patch)
tree83c4f20baa0ce3d659880a200ba21bd522f65ebe /test/units
parentf54263c459a8744199f61b3791ac516aa15ffd21 (diff)
downloadansible-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.py7
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, '', '')