

def test_dangling_resource_raises_for_unknown_arg(self):
    resource = self.load('test', self.model, self.defs)()
    with resource.assertRaises(ValueError):
        resource.Queue(url='foo', bar='baz')

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestResourceFactoryDanglingResource.test_dangling_resource_raises_for_unknown_arg/VarMisuse@30/41 `self`->`resource`