diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-06-16 12:57:29 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-06-16 12:57:29 +0000 |
| commit | 3236d6f66bd40ccff263a92eb660abf0915b69e0 (patch) | |
| tree | d279751ec347a0c943d7f88f25edaecf3c36ca2d | |
| parent | b5e524ac84dfae062649cd0197251001bd432e74 (diff) | |
| parent | 2d4a585841f031343c8586543b4573cc0967e9c2 (diff) | |
| download | python-openstackclient-3236d6f66bd40ccff263a92eb660abf0915b69e0.tar.gz | |
Merge "Add functional test for "aggregate unset" command"
| -rw-r--r-- | functional/tests/compute/v2/test_aggregate.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/functional/tests/compute/v2/test_aggregate.py b/functional/tests/compute/v2/test_aggregate.py index b4d27fae..2ad65599 100644 --- a/functional/tests/compute/v2/test_aggregate.py +++ b/functional/tests/compute/v2/test_aggregate.py @@ -57,3 +57,11 @@ class AggregateTests(test.TestCase): raw_output = self.openstack('aggregate show ' + self.NAME + opts) self.assertIn("a='b', c='d'\n", raw_output) + + raw_output = self.openstack( + 'aggregate unset --property a ' + self.NAME + ) + self.assertEqual('', raw_output) + + raw_output = self.openstack('aggregate show ' + self.NAME + opts) + self.assertIn("c='d'\n", raw_output) |
