

def test_resource_loads_waiters(self):
    model = {
        'waiters': {
            'Exists': {
                'waiterName': 'BucketExists',
                'params': [{
                    'target': 'Bucket',
                    'source': 'identifier',
                    'name': 'Name',
                }],
            },
        },
    }
    defs = {
        'Bucket': {
            
        },
    }
    service_model = ServiceModel({
        
    })
    resource = self.load('test', model, defs, service_model)()
    self.assertTrue(hasattr(resource, 'wait_until_exists'), 'Resource should expose resource waiter: wait_until_exists')

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestResourceFactory.test_resource_loads_waiters/original