summaryrefslogtreecommitdiffstats
path: root/utils/test
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-30 10:49:48 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-30 10:49:48 -0500
commitf790d7d49055b3eeb382fa4e90884f73162849cc (patch)
tree2d8f521afc2a61a46c27e9fd002fa10df65a994c /utils/test
parentc25735c88df27867cda0b45622106cb1119b2a7d (diff)
parent385ca96f5aaf8987820a5c7a25349ab7bedf9318 (diff)
downloadopenshift-f790d7d49055b3eeb382fa4e90884f73162849cc.tar.gz
openshift-f790d7d49055b3eeb382fa4e90884f73162849cc.tar.bz2
openshift-f790d7d49055b3eeb382fa4e90884f73162849cc.tar.xz
openshift-f790d7d49055b3eeb382fa4e90884f73162849cc.zip
Merge pull request #980 from brenton/unshedulable
Fixing 'unscheduleable' typo
Diffstat (limited to 'utils/test')
-rw-r--r--utils/test/cli_installer_tests.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/test/cli_installer_tests.py b/utils/test/cli_installer_tests.py
index c951b6580..90b6b15a3 100644
--- a/utils/test/cli_installer_tests.py
+++ b/utils/test/cli_installer_tests.py
@@ -616,7 +616,7 @@ class AttendedCliTests(OOCliFixture):
#pylint: disable=too-many-arguments,too-many-branches
def _build_input(self, ssh_user=None, hosts=None, variant_num=None,
- add_nodes=None, confirm_facts=None, scheduleable_masters_ok=None,
+ add_nodes=None, confirm_facts=None, schedulable_masters_ok=None,
master_lb=None):
"""
Builds a CLI input string with newline characters to simulate
@@ -658,7 +658,7 @@ class AttendedCliTests(OOCliFixture):
# TODO: support option 2, fresh install
if add_nodes:
- if scheduleable_masters_ok:
+ if schedulable_masters_ok:
inputs.append('y')
inputs.append('1') # Add more nodes
i = 0
@@ -712,7 +712,7 @@ class AttendedCliTests(OOCliFixture):
inventory = ConfigParser.ConfigParser(allow_no_value=True)
inventory.read(os.path.join(self.work_dir, '.ansible/hosts'))
self.assertEquals('False',
- inventory.get('nodes', '10.0.0.1 openshift_scheduleable'))
+ inventory.get('nodes', '10.0.0.1 openshift_schedulable'))
self.assertEquals(None,
inventory.get('nodes', '10.0.0.2'))
self.assertEquals(None,
@@ -790,7 +790,7 @@ class AttendedCliTests(OOCliFixture):
add_nodes=[('10.0.0.2', False)],
ssh_user='root',
variant_num=1,
- scheduleable_masters_ok=True,
+ schedulable_masters_ok=True,
confirm_facts='y')
self._verify_get_hosts_to_run_on(mock_facts, load_facts_mock,
@@ -830,13 +830,13 @@ class AttendedCliTests(OOCliFixture):
inventory = ConfigParser.ConfigParser(allow_no_value=True)
inventory.read(os.path.join(self.work_dir, '.ansible/hosts'))
self.assertEquals('False',
- inventory.get('nodes', '10.0.0.1 openshift_scheduleable'))
+ inventory.get('nodes', '10.0.0.1 openshift_schedulable'))
self.assertEquals('False',
- inventory.get('nodes', '10.0.0.2 openshift_scheduleable'))
+ inventory.get('nodes', '10.0.0.2 openshift_schedulable'))
self.assertEquals(None,
inventory.get('nodes', '10.0.0.3'))
self.assertEquals('False',
- inventory.get('nodes', '10.0.0.4 openshift_scheduleable'))
+ inventory.get('nodes', '10.0.0.4 openshift_schedulable'))
return