

def test_ex_remove_client_from_target_FAIL(self):
    DimensionDataMockHttp.type = 'FAIL'
    with self.assertRaises(DimensionDataAPIException) as context:
        context.driver.ex_remove_client_from_target('e75ead52-692f-4314-8725-c8a4f4d13a87', '30b1ff76-c76d-4d7c-b39d-3b72be0384c8')
    self.assertEqual(context.exception.code, 'ERROR')
    self.assertTrue(('Backup Client is currently performing another operation' in context.exception.msg))

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_ex_remove_client_from_target_FAIL/VarMisuse@28/46 `self`->`context`