summaryrefslogtreecommitdiff
path: root/functional
diff options
context:
space:
mode:
Diffstat (limited to 'functional')
-rw-r--r--functional/tests/compute/v2/test_agent.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/functional/tests/compute/v2/test_agent.py b/functional/tests/compute/v2/test_agent.py
index ad2e8253..d432768d 100644
--- a/functional/tests/compute/v2/test_agent.py
+++ b/functional/tests/compute/v2/test_agent.py
@@ -64,10 +64,11 @@ class ComputeAgentTests(test.TestCase):
url = "http://openstack"
md5hash = hashlib.md5().hexdigest()
- raw_output = self.openstack('compute agent set ' +
- self.ID + ' ' + ver + ' ' +
- url + ' ' + md5hash)
- self.assertEqual('', raw_output)
+ self.openstack('compute agent set '
+ + self.ID
+ + ' --agent-version ' + ver
+ + ' --url ' + url
+ + ' --md5hash ' + md5hash)
raw_output = self.openstack('compute agent list')
self.assertIn(self.ID, raw_output)