From 46f11cf34d860772960d96dd094f2194c3b6d654 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Sun, 4 Aug 2013 17:35:40 +0100 Subject: [PATCH] Fix `test_install_testing` unit test. Logic was wrong. --- tests/bootstrap/test_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bootstrap/test_install.py b/tests/bootstrap/test_install.py index ed567cb..ff94882 100644 --- a/tests/bootstrap/test_install.py +++ b/tests/bootstrap/test_install.py @@ -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)