remove dead returns test_openstack.py
removed unreachable return statements in test cases
Closes
@@ -2050,8 +2050,6 @@ class OpenStack_1_1_MockHttp(MockHttp, unittest.TestCase):
else:
raise NotImplementedError()
- return (httplib.OK, body, self.json_content_headers, httplib.responses[httplib.OK])
-
def _v1_1_slug_os_networks(self, method, url, body, headers):
if method == 'GET':
body = self.fixtures.load('_os_networks.json')
@@ -2074,8 +2072,6 @@ class OpenStack_1_1_MockHttp(MockHttp, unittest.TestCase):
else:
raise NotImplementedError()
- return (httplib.OK, body, self.json_content_headers, httplib.responses[httplib.OK])
-
def _v1_1_slug_servers_12063_action(self, method, url, body, headers):
if method == 'POST':
body = self.fixtures.load('_servers_unpause.json')
@@ -2083,8 +2079,6 @@ class OpenStack_1_1_MockHttp(MockHttp, unittest.TestCase):
else:
raise NotImplementedError()
- return (httplib.OK, body, self.json_content_headers, httplib.responses[httplib.OK])
-
def _v1_1_slug_servers_12086_action(self, method, url, body, headers):
if method == 'POST':
body = self.fixtures.load('_servers_12086_console_output.json')
