summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2017-02-27 16:13:05 -0500
committerGitHub <noreply@github.com>2017-02-27 16:13:05 -0500
commit0550138a592bc3bf202a44ed9a3e4d575e70add3 (patch)
tree9deb78cc4e324a01706d22f72de8240e98c505dd /roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py
parent833eb4ccfed255004ba21b51bab3c022201bbc83 (diff)
parent3c44e4293825b8f3aafa80bb60599476de3be57d (diff)
downloadopenshift-0550138a592bc3bf202a44ed9a3e4d575e70add3.tar.gz
openshift-0550138a592bc3bf202a44ed9a3e4d575e70add3.tar.bz2
openshift-0550138a592bc3bf202a44ed9a3e4d575e70add3.tar.xz
openshift-0550138a592bc3bf202a44ed9a3e4d575e70add3.zip
Merge pull request #3510 from abutcher/router-upgrade
Bug 1427080: The router wasn't upgraded to current ose-haproxy-router image version
Diffstat (limited to 'roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py')
-rwxr-xr-xroles/lib_openshift/src/test/unit/test_oc_serviceaccount.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py b/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py
index b02b37053..3572a6728 100755
--- a/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py
+++ b/roles/lib_openshift/src/test/unit/test_oc_serviceaccount.py
@@ -111,9 +111,9 @@ class OCServiceAccountTest(unittest.TestCase):
# Making sure our mock was called as we expected
mock_cmd.assert_has_calls([
- mock.call(['oc', '-n', 'default', 'get', 'sa', 'testserviceaccountname', '-o', 'json'], None),
- mock.call(['oc', '-n', 'default', 'create', '-f', mock.ANY], None),
- mock.call(['oc', '-n', 'default', 'get', 'sa', 'testserviceaccountname', '-o', 'json'], None),
+ mock.call(['oc', 'get', 'sa', 'testserviceaccountname', '-o', 'json', '-n', 'default'], None),
+ mock.call(['oc', 'create', '-f', mock.ANY, '-n', 'default'], None),
+ mock.call(['oc', 'get', 'sa', 'testserviceaccountname', '-o', 'json', '-n', 'default'], None),
])
@unittest.skipIf(six.PY3, 'py2 test only')