Bug 887084 - Test case failure: SAM CLI: provider
Summary: Test case failure: SAM CLI: provider
Keywords:
Status: CLOSED DUPLICATE of bug 880089
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Katello Bug Bin
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-14 02:17 UTC by Angela Garcia
Modified: 2012-12-14 03:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Not all messages are localized Fix: Result:
Clone Of:
Environment:
Last Closed: 2012-12-14 03:41:28 UTC


Attachments (Terms of Use)

Description Angela Garcia 2012-12-14 02:17:18 UTC
Filed from caserun (INSERT URL HERE)

Version-Release number of selected component (if applicable):
SAM-20121130.n.0

Steps to Reproduce: 

# headpin provider -h

  * import_manifest

# headpin provider import_manifest -h

# headpin -u admin -p admin provider import_manifest --name= --file=
File  does not exist

# headpin -u admin -p admin provider import_manifest --name=test --file=/home/
testqa/Downloads/manifest.zip (the path to the manifest file)
Could not find provider [ test ] within organization [ Starbucks ]

# headpin -u admin -p admin provider import_manifest --name="Red Hat" --file=/
home/testqa/Downloads/manifest.zip
Importing manifest, please wait... This distributor has already been imported
by another owner

# headpin -u admin -p admin provider import_manifest --name="Red Hat" --file=/
home/testqa/Downloads/manifest.zip --org=ACME_Corporation
Importing manifest, please wait... Import is older then existing data, please
try with --force option to import manifest.

# headpin -u admin -p admin provider import_manifest --name="Red Hat" --file=/
home/testqa/Downloads/manifest.zip --org=ACME_Corporation --force
Manifest imported                    

# headpin -u admin -p admin provider import_manifest --name="Red Hat" --file=/
home/testqa/Downloads/manifest.zip --org=test
Manifest imported                    

  * Info

# headpin provider info -h

# headpin -u admin -p admin provider info --name="Red Hat"

# headpin -u admin -p admin provider info --name="Red Hat" --org=
Couldn't find organization 'providers'

headpin -u admin -p admin provider info --name="Red Hat" --org=??
Couldn't find organization '??'

# headpin -u admin -p admin provider info --name="Red Hat" --org=test

# headpin -u admin -p admin provider info --name="Red Hat" --org=test -g

# headpin -u admin -p admin provider info --name="Red Hat" --org=test -v

# headpin -u admin -p admin provider info --name="Red Hat" --org=test
--noheading

# headpin -u admin -p admin provider info --name="Red Hat" --org=test -g -v -d
DELIMITER --noheading

  * List

# headpin provider list -h

# headpin -u admin -p admin provider list

# headpin -u admin -p admin provider list --org=test

# headpin -u admin -p admin provider list --org=test -g

# headpin -u admin -p admin provider list --org=test -v

# headpin -u admin -p admin provider list --org=test --noheading

# headpin -u admin -p admin provider list --org=test -g -v -d DELIMITER
--noheading

  * delete_manifest

# headpin provider delete_manifest -h

# headpin -u admin -p admin provider delete_manifest --name='Red Hat' --org=
ACME_Corporation
Manifest deleted                    




Actual results: 
#FIXME

Expected results:
Messages are localized.

Comment 1 Lijun Li 2012-12-14 03:41:28 UTC

*** This bug has been marked as a duplicate of bug 880089 ***


Note You need to log in before you can comment on or make changes to this bug.