diff --git a/test/ganeti.rapi.testutils_unittest.py b/test/ganeti.rapi.testutils_unittest.py index d26bd19e3646d7da69dcb0b199d62ba7df75eb0f..8d68b031c752a02bafefea71ef2ef48b8568a5cd 100755 --- a/test/ganeti.rapi.testutils_unittest.py +++ b/test/ganeti.rapi.testutils_unittest.py @@ -129,7 +129,7 @@ class TestInputTestClient(unittest.TestCase): result = self.cl.PrepareExport("inst1.example.com", constants.EXPORT_MODE_LOCAL) self.assertTrue(result is NotImplemented) - self.assertRaises(rapi.client.GanetiApiError, self.cl.PrepareExport, + self.assertRaises(rapi.testutils.VerificationError, self.cl.PrepareExport, "inst1.example.com", "###invalid###") def testGetJobs(self):