Skip to content

Commit 3236d6f

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add functional test for "aggregate unset" command"
2 parents b5e524a + 2d4a585 commit 3236d6f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

functional/tests/compute/v2/test_aggregate.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,11 @@ def test_aggregate_properties(self):
5757

5858
raw_output = self.openstack('aggregate show ' + self.NAME + opts)
5959
self.assertIn("a='b', c='d'\n", raw_output)
60+
61+
raw_output = self.openstack(
62+
'aggregate unset --property a ' + self.NAME
63+
)
64+
self.assertEqual('', raw_output)
65+
66+
raw_output = self.openstack('aggregate show ' + self.NAME + opts)
67+
self.assertIn("c='d'\n", raw_output)

0 commit comments

Comments
 (0)