MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / test_keys_len

Function test_keys_len

tests/python/test_dict_methods.py:317–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315
316
317def test_keys_len():
318 dishes = pm.eval("({'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500})")
319 keys = dishes.keys()
320 assert len(keys) == 4
321
322
323def test_keys_contains():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected