Revision 1068639f test/ganeti.rapi.client_unittest.py

b/test/ganeti.rapi.client_unittest.py
428 428
    self.assertQuery("force", ["1"])
429 429
    self.assertEqual("\"master-candidate\"", self.http.last_request.data)
430 430

  
431
    self.assertRaises(client.InvalidNodeRole,
432
                      self.client.SetNodeRole, "node-bar", "fake-role")
433

  
434 431
  def testGetNodeStorageUnits(self):
435 432
    self.rapi.AddResponse("42")
436 433
    self.assertEqual(42,

Also available in: Unified diff