Explorar o código

Fixed tests to align with new naming.

Kenny Woodson %!s(int64=8) %!d(string=hai) anos
pai
achega
a4fe8bfa6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roles/lib_openshift/src/test/unit/oc_project.py

+ 1 - 1
roles/lib_openshift/src/test/unit/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),