This was forgotten in f18fab7.
Signed-off-by: Adeodato Simo <[email protected]>
---
test/ganeti.rapi.client_unittest.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/ganeti.rapi.client_unittest.py
b/test/ganeti.rapi.client_unittest.py
index dffbd05..9b432b9 100755
--- a/test/ganeti.rapi.client_unittest.py
+++ b/test/ganeti.rapi.client_unittest.py
@@ -1039,6 +1039,12 @@ class GanetiRapiClientTests(testutils.GanetiTestCase):
self.assertEqual(job_id, 12347)
self.assertHandler(rlib2.R_2_groups_name_rename)
+ def testModifyGroup(self):
+ self.rapi.AddResponse("12348")
+ job_id = self.client.ModifyGroup("mygroup", alloc_policy="foo")
+ self.assertEqual(job_id, 12348)
+ self.assertHandler(rlib2.R_2_groups_name_modify)
+
def testModifyCluster(self):
for mnh in [None, False, True]:
self.rapi.AddResponse("14470")
--
1.7.3.1