summaryrefslogtreecommitdiff
path: root/functional
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-07-14 09:22:20 +0000
committerGerrit Code Review <review@openstack.org>2016-07-14 09:22:21 +0000
commit52cb503fb0e9d1ba43fc048e127ec0206cde4a61 (patch)
tree2ce373b680886f170723c9391f9d9b8acc93a5b3 /functional
parentbae17d954779834d0170ce26092a05e436ced5f1 (diff)
parent25bdf6811c71413921777cad73b6d039444600ff (diff)
downloadpython-openstackclient-52cb503fb0e9d1ba43fc048e127ec0206cde4a61.tar.gz
Merge "Modify compute agent set command"
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)