mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Add functional test for "aggregate unset" command
There was not functional test for "aggregate unset" command, this patch add the test. Change-Id: Icc8f51e863231e915b2a8cca59baaedd54a96de5
This commit is contained in:
parent
114eeeb023
commit
2d4a585841
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