diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-14 09:22:20 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-14 09:22:21 +0000 |
| commit | 52cb503fb0e9d1ba43fc048e127ec0206cde4a61 (patch) | |
| tree | 2ce373b680886f170723c9391f9d9b8acc93a5b3 /functional | |
| parent | bae17d954779834d0170ce26092a05e436ced5f1 (diff) | |
| parent | 25bdf6811c71413921777cad73b6d039444600ff (diff) | |
| download | python-openstackclient-52cb503fb0e9d1ba43fc048e127ec0206cde4a61.tar.gz | |
Merge "Modify compute agent set command"
Diffstat (limited to 'functional')
| -rw-r--r-- | functional/tests/compute/v2/test_agent.py | 9 |
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) |
