Fix test_install_testing unit test. Logic was wrong.

This commit is contained in:
Pedro Algarvio 2013-08-04 17:35:40 +01:00
parent 095e6e0361
commit 46f11cf34d

View file

@ -304,7 +304,7 @@ class InstallationTestCase(BootstrapTestCase):
rc, out, err = self.run_script(
args=args, timeout=15 * 60, stream_stds=True
)
if GRAINS['os_family'] != 'RedHat':
if GRAINS['os_family'] == 'RedHat':
self.assert_script_result(
'Failed to install testing',
0, (rc, out, err)