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

Function test_complex_get_fields

tests/test_base.py:71–77  ·  view source on GitHub ↗

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

(complex_child)

Source from the content-addressed store, hash-verified

69
70
71def test_complex_get_fields(complex_child):
72 """Test that the fields are set correctly.
73
74 Args:
75 complex_child: A child class.
76 """
77 assert complex_child.get_fields().keys() == {"num", "key", "name", "age", "active"}
78
79
80def test_complex_set(complex_child):

Callers

nothing calls this directly

Calls 2

get_fieldsMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected