Revision 59e67682

b/test/ganeti.rapi.testutils_unittest.py
129 129
    result = self.cl.PrepareExport("inst1.example.com",
130 130
                                   constants.EXPORT_MODE_LOCAL)
131 131
    self.assertTrue(result is NotImplemented)
132
    self.assertRaises(rapi.client.GanetiApiError, self.cl.PrepareExport,
132
    self.assertRaises(rapi.testutils.VerificationError, self.cl.PrepareExport,
133 133
                      "inst1.example.com", "###invalid###")
134 134

  
135 135
  def testGetJobs(self):

Also available in: Unified diff