

def test_factory_sets_identifiers(self):
    model = {
        'identifiers': [{
            'name': 'QueueUrl',
        }, {
            'name': 'ReceiptHandle',
        }],
    }
    MessageResource = self.load('Message', MessageResource)
    self.assertIn('queue_url', MessageResource.meta.identifiers, 'Missing queue_url identifier from model')
    self.assertIn('receipt_handle', MessageResource.meta.identifiers, 'Missing receipt_handle identifier from model')

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestResourceFactory.test_factory_sets_identifiers/VarMisuse@47/68 `model`->`MessageResource`