Revision 611959a3
Added by Thomas McKay over 7 years ago
test/resources/content_hosts_test.rb | ||
---|---|---|
--continue-on-error Continue processing even if individual resource error
|
||
--export Export current data instead of importing
|
||
--file FILE_NAME CSV file (default to /dev/stdout with --export, otherwise required)
|
||
--itemized-subscriptions Export one subscription per row, only process update subscriptions on import
|
||
--organization ORGANIZATION Only process organization matching this name
|
||
--subscriptions-only Export only detailed subscription information
|
||
-h, --help print help
|
||
-v, --verbose be verbose
|
||
HELP
|
||
... | ... | |
set_user 'admin'
|
||
|
||
stdout,stderr = capture {
|
||
hammer.run(%W{csv content-hosts --export --subscriptions-only --organization Test\ Corporation})
|
||
hammer.run(%W{csv content-hosts --export --itemized-subscriptions --organization Test\ Corporation})
|
||
}
|
||
assert_equal '', stderr
|
||
|
Also available in: Unified diff
fixes #16281 - add --itemized-subscriptions to activation-keys