MCPcopy Create free account
hub / github.com/aws/aws-cli / test_can_cache_kwargs

Method test_can_cache_kwargs

tests/unit/botocore/test_utils.py:1299–1303  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1297 self.assertEqual(adder.sub(2, 1), 1)
1298
1299 def test_can_cache_kwargs(self):
1300 adder = self.DummyClass(self.cache)
1301 adder.add(x=2, y=1)
1302 self.assertEqual(adder.add(x=2, y=1), 3)
1303 self.assertEqual(len(self.cache), 1)
1304
1305
1306class TestMergeDicts(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected