Browse Source

Fixed for linting.

Kenny Woodson 8 years ago
parent
commit
842b69be27

+ 0 - 1
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')

+ 1 - 4
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'),