'Return an exception for a valid error code.'

def test_check_error_code(self):

    failure = exception.ViolinBackendErr
    response = {'success': False, 'msg': 'Error:    0x90000000'}
    self.assertRaises(failure, self.driver._check_error_code, response)
