MCPcopy Create free account
hub / github.com/dot-agent/nextpy / test_get_fields

Function test_get_fields

tests/test_base.py:24–30  ·  view source on GitHub ↗

Test that the fields are set correctly. Args: child: A child class.

(child)

Source from the content-addressed store, hash-verified

22
23
24def test_get_fields(child):
25 """Test that the fields are set correctly.
26
27 Args:
28 child: A child class.
29 """
30 assert child.get_fields().keys() == {"num", "key"}
31
32
33def test_set(child):

Callers

nothing calls this directly

Calls 2

get_fieldsMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected