Katello/katello — pull request #556 by lzap (2012-08-31 13:07:27+00:00)
Title: Cli tests fixes

Fixing two issues. ALL:

1) If you work on CLI please make sure you have either unit cli tests and system (smoke if you want) cli tests and they are all passing:

https://fedorahosted.org/katello/wiki/TestingHowto#CLIUnittests
https://fedorahosted.org/katello/wiki/TestingHowto#Systemtests

2) Please do not use "sudo" in cli system tests, use $SUDO instead. The variable is set only when tests are not running as root. Don't worry, several tests just subscribe and unsubscribe and this kind of stuff :-) If you do not have rhsm installed, those are automatically skipped.