def test_partial(self): cache_id = botomod.cache_id_func(service) cache_id(resource_name, resource_id=resource_id) self.assertEqual(cache_id(resource_name), resource_id)
def test_partial(self): cache_id = botomod.cache_id_func(service) cache_id(resource_name, resource_id=resource_id) assert cache_id(resource_name) == resource_id