summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-01 11:19:03 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-03-06 09:09:14 -0500
commita4fe8bfa6b4122bc1215bcb9798caf1c5eb6d181 (patch)
tree8c30a7f4e9763ddd1cd17438b3bbfd43557d46ef
parent4d8df54bd8449a350e3eba59d9598b50d2e727ff (diff)
downloadopenshift-a4fe8bfa6b4122bc1215bcb9798caf1c5eb6d181.tar.gz
openshift-a4fe8bfa6b4122bc1215bcb9798caf1c5eb6d181.tar.bz2
openshift-a4fe8bfa6b4122bc1215bcb9798caf1c5eb6d181.tar.xz
openshift-a4fe8bfa6b4122bc1215bcb9798caf1c5eb6d181.zip
Fixed tests to align with new naming.
-rwxr-xr-xroles/lib_openshift/src/test/unit/test_oc_project.py (renamed from roles/lib_openshift/src/test/unit/oc_project.py)2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/src/test/unit/oc_project.py b/roles/lib_openshift/src/test/unit/test_oc_project.py
index e3a7eba6f..3cc439bf7 100755
--- a/roles/lib_openshift/src/test/unit/oc_project.py
+++ b/roles/lib_openshift/src/test/unit/test_oc_project.py
@@ -110,7 +110,7 @@ class OCProjectTest(unittest.TestCase):
mock_cmd.assert_has_calls([
mock.call(['oc', 'get', 'namespace', 'operations', '-o', 'json'], None),
mock.call(['oc', 'get', 'namespace', 'operations', '-o', 'json'], None),
- mock.call(['oadm', 'new-project', 'operations', '--admin-role=admin',
+ mock.call(['oc', 'adm', 'new-project', 'operations', '--admin-role=admin',
'--display-name=operations project', '--description=All things operations project',
'--node-selector=ops_only=True'], None),
mock.call(['oc', 'get', 'namespace', 'operations', '-o', 'json'], None),