1616
1717
1818class ComputeAgentTests (test .TestCase ):
19- """Functional tests for compute agent. """
19+ """Functional tests for compute agent."""
2020
2121 ID = None
2222 MD5HASH = hashlib .md5 ().hexdigest ()
@@ -32,11 +32,11 @@ class ComputeAgentTests(test.TestCase):
3232 @classmethod
3333 def setUpClass (cls ):
3434 opts = cls .get_show_opts (cls .HEADERS )
35- raw_output = cls .openstack ('compute agent create '
36- + cls .OS + ' ' + cls .ARCH + ' '
37- + cls .VER + ' ' + cls .URL + ' '
38- + cls .MD5HASH + ' ' + cls .HYPER + ' '
39- + opts )
35+ raw_output = cls .openstack ('compute agent create ' +
36+ cls .OS + ' ' + cls .ARCH + ' ' +
37+ cls .VER + ' ' + cls .URL + ' ' +
38+ cls .MD5HASH + ' ' + cls .HYPER + ' ' +
39+ opts )
4040
4141 # Get agent id because agent can only be deleted by ID
4242 output_list = raw_output .split ('\n ' , 1 )
@@ -64,9 +64,9 @@ def test_agent_set(self):
6464 url = "http://openstack"
6565 md5hash = hashlib .md5 ().hexdigest ()
6666
67- raw_output = self .openstack ('compute agent set '
68- + self .ID + ' ' + ver + ' '
69- + url + ' ' + md5hash )
67+ raw_output = self .openstack ('compute agent set ' +
68+ self .ID + ' ' + ver + ' ' +
69+ url + ' ' + md5hash )
7070 self .assertEqual ('' , raw_output )
7171
7272 raw_output = self .openstack ('compute agent list' )
0 commit comments