

def test_dangling_resource_shares_client(self):
    resource = self.load('test', self.model, self.defs)()
    q = resource.Queue('test')
    self.assertEqual(q.meta.client, q.meta.client, 'Client was not shared to dangling resource instance')

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestResourceFactoryDanglingResource.test_dangling_resource_shares_client/VarMisuse@42/55 `resource`->`q`