MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / begin

Method begin

tests/testing/libs/xmlrunner/builder.py:71–77  ·  view source on GitHub ↗

Begins the creation of this context in the XML document by creating an empty tag .

(self, tag, name)

Source from the content-addressed store, hash-verified

69 return self.element.tagName
70
71 def begin(self, tag, name):
72 """Begins the creation of this context in the XML document by creating
73 an empty tag <tag name='param'>.
74 """
75 self.element = self.xml_doc.createElement(tag)
76 self.element.setAttribute('name', replace_nontext(name))
77 self._start_time = time.monotonic()
78
79 def end(self):
80 """Closes this context (started with a call to `begin`) and creates an

Callers 1

begin_contextMethod · 0.95

Calls 1

replace_nontextFunction · 0.85

Tested by

no test coverage detected