MCPcopy Create free account
hub / github.com/pytest-dev/pytest / get_unique_child

Method get_unique_child

testing/test_junitxml.py:96–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94
95 @property
96 def get_unique_child(self):
97 children = self.children
98 assert len(children) == 1
99 return children[0]
100
101 def find_nth_by_tag(self, tag, n):
102 items = self._by_tag(tag)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected