Begins the creation of this context in the XML document by creating an empty tag .
(self, tag, name)
| 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 |
no test coverage detected