

def test_exception_handler_v20_error_dict_not_contain_message(self):
    error_content = {
        'error': 'This is an error message',
    }
    expected_msg = ('%s-%s' % (500, error_content))
    self._test_exception_handler_v20(exceptions.NeutronClientException, 500, expected_msg=expected_msg, error_content=error_content)

dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20.py CLITestV20ExceptionHandler.test_exception_handler_v20_error_dict_not_contain_message/original