mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Add functional test for "aggregate unset" command"
This commit is contained in:
commit
3236d6f66b
1 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue