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

Function test_set

tests/test_base.py:33–41  ·  view source on GitHub ↗

Test setting fields. Args: child: A child class.

(child)

Source from the content-addressed store, hash-verified

31
32
33def test_set(child):
34 """Test setting fields.
35
36 Args:
37 child: A child class.
38 """
39 child.set(num=1, key="a")
40 assert child.num == 1
41 assert child.key == "a"
42
43
44def test_json(child):

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected