예제 #1
0
 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)
예제 #2
0
 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