removing pep8 errors

This commit is contained in:
Salvatore Orlando 2011-07-06 12:41:13 +01:00
parent e92064d745
commit 67ee9c1fd4
3 changed files with 7 additions and 7 deletions

View File

@ -188,7 +188,6 @@ class FunctionalTest(unittest.TestCase):
self.quantum_server = QuantumAPIServer(self.test_dir,
self.test_port)
def tearDown(self):
self.cleanup()
# We destroy the test data store between each test case,
@ -227,7 +226,6 @@ class FunctionalTest(unittest.TestCase):
exitcode, out, err = execute(cmd)
self.assertEqual(0, exitcode)
def start_servers(self, **kwargs):
"""
Starts the Quantum API server on an unused port.

View File

@ -35,6 +35,7 @@ def new_network_request(tenant_id, network_name, format='xml'):
body = Serializer().serialize(data, content_type)
return create_request(path, body, content_type, method)
def update_network_request(tenant_id, network_id, network_name, format='xml'):
method = 'PUT'
path = "/tenants/%(tenant_id)s/networks" \
@ -44,6 +45,7 @@ def update_network_request(tenant_id, network_id, network_name, format='xml'):
body = Serializer().serialize(data, content_type)
return create_request(path, body, content_type, method)
def network_delete_request(tenant_id, network_id, format='xml'):
method = 'DELETE'
path = "/tenants/%(tenant_id)s/networks/" \