Bug 887075

Summary: Test case failure: SAM CLI: org
Product: [Retired] Subscription Asset Manager Reporter: Angela Garcia <agarcia>
Component: katelloAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: SAM QE List <sam-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: eng-i18n-bugs, eng-l10n-bugs, lijli, qe-i18n-bugs
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Not all messages are localized Fix: Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-14 03:38:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Angela Garcia 2012-12-14 01:46:04 UTC
Not all messages are localized

Filed from caserun (INSERT URL HERE)

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

Steps to Reproduce: 

# headpin org -h

  * Create

# headpin org create -h

# headpin -u admin -p admin org create --name=
Validation failed: Label can't be blank, Label cannot contain characters other
than ascii alpha numerals, '_', '-'. , Label must contain at least 2
characters, Label can't be blank, Name must contain at least 2 characters, Name
can't be blank

# headpin -u admin -p admin org create --name=test
Validation failed: Name has already been taken, Label has already been taken

# headpin -u admin -p admin org create --name=testqa
Successfully created org [ testqa ]

# headpin -u admin -p admin org create --name=testqd --label=??
Validation failed: Label is invalid, Label cannot contain characters other than
ascii alpha numerals, '_', '-'.

# headpin -u admin -p admin org create --name=testqc --label=testqc
--description=??
Successfully created org [ testqc ]

  * Info

# headpin org info -h

# headpin -u admin -p admin org info --name=test

# headpin -u admin -p admin org info --name=test -g

# headpin -u admin -p admin org info --name=test -v

# headpin -u admin -p admin org info --name=test --noheading

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

  * List

# headpin org list -h

# headpin -u admin -p admin org list

# headpin -u admin -p admin org list -g

# headpin -u admin -p admin org list -v

# headpin -u admin -p admin org list --noheading

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

  * Subscriptions

# headpin org subscriptions -h

# headpin -u admin -p admin org subscriptions --name=ACME_Corporation (imported
the manifest to the org/registered the client system to the org)

# headpin -u admin -p admin org subscriptions --name=ACME_Corporation -g

# headpin -u admin -p admin org subscriptions --name=ACME_Corporation -v

# headpin -u admin -p admin org subscriptions --name=ACME_Corporation
--noheading

# headpin -u admin -p admin org subscriptions --name=ACME_Corporation  -g -v -d
DELIMITER --noheading

  * Update

# headpin org update -h

# headpin -u admin -p admin org update --name=
Resource not found on the server

# headpin -u admin -p admin org update --name=test
Successfully updated org [ test ]

# headpin -u admin -p admin org update --name=test --description=??
Successfully updated org [ test ]

  * add_default_system_info

# headpin org add_default_system_info -h

# headpin -u admin -p admin org add_default_system_info --name=test --keyname=
test
Successfully added default custom info key [ test ] to Org [ test ]

  * apply_default_system_info

# headpin org apply_default_system_info -h

# headpin -u admin -p admin org apply_default_system_info --name=test
Validation failed: Keyname can't be blank

  * remove_default_system_info

# headpin org remove_default_system_info -h

# headpin -u admin -p admin org remove_default_system_info --name=test
--keyname=test
Successfully removed default custom info key [ test ] for Org [ test ]

  * Delete

# headpin org delete -h

# headpin -u admin -p admin org delete --name=test

Deleting the organization, please wait...[\]
Successfully deleted org [ test ]  

 

 



Actual results: 
#FIXME

Expected results:
Messages are localized.

Comment 1 Lijun Li 2012-12-14 03:38:34 UTC

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