summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-08 11:43:45 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-03-08 11:43:45 -0500
commit842b69be27aa97bb1df5dde97029d6cbf82aebfb (patch)
tree99603cba61808d856b5657c4fbc0f3e8567a2a3e /roles/lib_openshift
parente2bad8efff2aaee4906575bc523c57bffa924715 (diff)
downloadopenshift-842b69be27aa97bb1df5dde97029d6cbf82aebfb.tar.gz
openshift-842b69be27aa97bb1df5dde97029d6cbf82aebfb.tar.bz2
openshift-842b69be27aa97bb1df5dde97029d6cbf82aebfb.tar.xz
openshift-842b69be27aa97bb1df5dde97029d6cbf82aebfb.zip
Fixed for linting.
Diffstat (limited to 'roles/lib_openshift')
-rwxr-xr-xroles/lib_openshift/src/test/unit/test_oc_adm_registry.py1
-rwxr-xr-xroles/lib_openshift/src/test/unit/test_oc_adm_router.py5
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'),