

def test_factory_fails_on_clobber_action(self):
    model = {
        'identifiers': [{
            'name': 'Test',
        }, {
            'name': 'TestAction',
        }],
        'actions': {
            'Test': {
                'request': {
                    'operation': 'GetTest',
                },
            },
        },
    }
    with self.assertRaises(ValueError) as cm:
        self.load('test', model)
    cm.assertIn('test', str(cm.exception))
    self.assertIn('action', str(cm.exception))

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestResourceFactory.test_factory_fails_on_clobber_action/VarMisuse@87/121 `self`->`cm`