Project

General

Profile

Bug #15032

Repository list test references nonexistent option

Added by David Davis over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

This test:

https://git.io/vrqhE

has an option which does not exist. Looks like it's due to a constant hash being modified maybe?

$ repository list --help
Usage:
    hammer repository list [OPTIONS]

Options:
 --available-for AVAILABLE_FOR                       interpret specified object to return only Repositories that can be associated with specified object. Only ‘content_view’ is supported.
 --by BY                                             Field to sort the results on
 --content-type CONTENT_TYPE                         limit to only repositories of this type
                                                     Possible value(s): 'ostree', 'docker', 'yum', 'puppet', 'file'
 --content-view CONTENT_VIEW_NAME                    Content view name to search by
 --content-view-id CONTENT_VIEW_ID                   content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID   Content view version identifier
 --environment ENVIRONMENT_NAME                      Name to search by
 --environment-id ENVIRONMENT_ID                      
 --erratum-id ERRATUM_ID                             Id of an erratum to find repositories that contain the erratum
 --full-results FULL_RESULTS                         Whether or not to show all results
                                                     One of true/false, yes/no, 1/0.
 --library LIBRARY                                   show repositories in Library and the default content view
                                                     One of true/false, yes/no, 1/0.
 --name NAME                                         name of the repository
 --order ORDER                                       Sort field and order, eg. ‘name DESC’
 --organization ORGANIZATION_NAME                    Organization name to search by
 --organization-id ORGANIZATION_ID                   organization ID
 --organization-label ORGANIZATION_LABEL             Organization label to search by
 --page PAGE                                         Page number, starting at 1
 --per-page PER_PAGE                                 Number of results per page to return
 --product PRODUCT_NAME                              Product name to search by
 --product-id PRODUCT_ID                             product numeric identifier
 --rpm-id RPM_ID                                     Id of a package to find repositories that contain the rpm
 --search SEARCH                                     Search string
 -h, --help                                          print help

Associated revisions

Revision aa6f1757 (diff)
Added by David Davis over 3 years ago

Fixes #15032 - Fixing repository list test (#397)

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/397 added

#2 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 143

Also available in: Atom PDF