diff options
Diffstat (limited to 'roles/lib_openshift/src')
-rwxr-xr-x | roles/lib_openshift/src/test/unit/test_oc_adm_registry.py | 1 | ||||
-rwxr-xr-x | roles/lib_openshift/src/test/unit/test_oc_adm_router.py | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/roles/lib_openshift/src/test/unit/test_oc_adm_registry.py b/roles/lib_openshift/src/test/unit/test_oc_adm_registry.py index a663c5a97..540048119 100755 --- a/roles/lib_openshift/src/test/unit/test_oc_adm_registry.py +++ b/roles/lib_openshift/src/test/unit/test_oc_adm_registry.py @@ -205,7 +205,6 @@ class RegistryTest(unittest.TestCase): } ]}''' - @mock.patch('oc_adm_registry.Utils._write') @mock.patch('oc_adm_registry.Utils.create_tmpfile_copy') @mock.patch('oc_adm_registry.Registry._run') diff --git a/roles/lib_openshift/src/test/unit/test_oc_adm_router.py b/roles/lib_openshift/src/test/unit/test_oc_adm_router.py index 5184990e8..9f56f1e54 100755 --- a/roles/lib_openshift/src/test/unit/test_oc_adm_router.py +++ b/roles/lib_openshift/src/test/unit/test_oc_adm_router.py @@ -286,7 +286,6 @@ class RouterTest(unittest.TestCase): ] }''' - @mock.patch('oc_adm_router.Utils._write') @mock.patch('oc_adm_router.Utils.create_tmpfile_copy') @mock.patch('oc_adm_router.Router._run') @@ -306,7 +305,6 @@ class RouterTest(unittest.TestCase): 'latest_images': None, 'clusterip': None, 'portalip': None, - 'selector': None, 'session_affinity': None, 'service_type': None, 'kubeconfig': '/etc/origin/master/admin.kubeconfig', @@ -327,8 +325,7 @@ class RouterTest(unittest.TestCase): 'stats_user': None, 'stats_password': None, 'stats_port': 1936, - 'edits': []} - + 'edits': []} mock_cmd.side_effect = [ (1, '', 'Error from server (NotFound): deploymentconfigs "router" not found'), |