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

Also available in: Atom PDF