Project

General

Profile

Actions

Bug #15013

closed

(bats fail) hammer repository upload_content missing --organization param

Added by Chris Duryee over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Fixed in Releases:
Found in Releases:

Description

The following test fails on bats:

@test "upload package" {
  wget https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_errata_install/animaniacs-0.1-1.noarch.rpm -P /tmp
  hammer -u admin -p changeme repository upload-content --organization="Default Organization"\
    --product="Test Product" --name="Zoo" --path="/tmp/animaniacs-0.1-1.noarch.rpm" | grep -q "Successfully uploaded" 
}

The error is:

# Could not upload the content:
#   Error: Unrecognised option '--organization'
#   
#   See: 'hammer repository upload-content --help'

Actions #1

Updated by Zach Huntington-Meath over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Zach Huntington-Meath
Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/398 added
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Pull request https://github.com/Katello/katello/pull/6047 added
Actions #4

Updated by Zach Huntington-Meath over 8 years ago

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

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 143
Actions

Also available in: Atom PDF