diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-07-29 18:18:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-29 18:18:58 -0400 |
commit | 2c9705255d5c414a1679b8663333c2ace2a418cc (patch) | |
tree | e00f956c02d9193a306ff8313567e7f15ef6ce15 /utils/test | |
parent | 6f6649620d9eae28548bf2cbe93af24cfdd8e428 (diff) | |
parent | 1b98effd4b656ce884d24d6382b4294cb21e911b (diff) | |
download | openshift-2c9705255d5c414a1679b8663333c2ace2a418cc.tar.gz openshift-2c9705255d5c414a1679b8663333c2ace2a418cc.tar.bz2 openshift-2c9705255d5c414a1679b8663333c2ace2a418cc.tar.xz openshift-2c9705255d5c414a1679b8663333c2ace2a418cc.zip |
Merge pull request #2239 from smunilla/inventory_write_improvements
a-o-i: Better inventory group handling
Diffstat (limited to 'utils/test')
-rw-r--r-- | utils/test/cli_installer_tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/test/cli_installer_tests.py b/utils/test/cli_installer_tests.py index 13973f22f..d79163e91 100644 --- a/utils/test/cli_installer_tests.py +++ b/utils/test/cli_installer_tests.py @@ -815,9 +815,9 @@ class AttendedCliTests(OOCliFixture): self.assert_inventory_host_var(inventory, 'nodes', '10.0.0.1', 'openshift_schedulable=False') self.assert_inventory_host_var_unset(inventory, 'nodes', '10.0.0.2', - 'openshift_schedulable') + 'openshift_schedulable=True') self.assert_inventory_host_var_unset(inventory, 'nodes', '10.0.0.3', - 'openshift_schedulable') + 'openshift_schedulable=True') # interactive with config file and some installed some uninstalled hosts @patch('ooinstall.openshift_ansible.run_main_playbook') @@ -939,7 +939,7 @@ class AttendedCliTests(OOCliFixture): self.assert_inventory_host_var(inventory, 'nodes', '10.0.0.3', 'openshift_schedulable=False') self.assert_inventory_host_var_unset(inventory, 'nodes', '10.0.0.4', - 'openshift_schedulable') + 'openshift_schedulable=True') self.assertTrue(inventory.has_section('etcd')) self.assertEquals(3, len(inventory.items('etcd'))) @@ -1122,9 +1122,9 @@ class AttendedCliTests(OOCliFixture): self.assert_inventory_host_var(inventory, 'nodes', '10.0.0.1', 'openshift_schedulable=False') self.assert_inventory_host_var_unset(inventory, 'nodes', '10.0.0.2', - 'openshift_schedulable') + 'openshift_schedulable=True') self.assert_inventory_host_var_unset(inventory, 'nodes', '10.0.0.3', - 'openshift_schedulable') + 'openshift_schedulable=True') # TODO: test with config file, attended add node |