MCPcopy Create free account
hub / github.com/danieljfarrell/pvtrace / test_parent

Method test_parent

tests/test_node.py:31–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 assert Node(name="a").name == 'a'
30
31 def test_parent(self):
32 a = Node()
33 b = Node(parent=a)
34 assert a.parent == None
35 assert b.parent == a
36
37 def test_coodinate_system_conversions(self):
38 a = Node(name='a')

Callers

nothing calls this directly

Calls 1

NodeClass · 0.90

Tested by

no test coverage detected