(self, output, pattern, full=False, regex=True)
| 596 | return match |
| 597 | |
| 598 | def check_line(self, output, pattern, full=False, regex=True): |
| 599 | if not regex: |
| 600 | pattern = re.escape(pattern) |
| 601 | if full: |
| 602 | pattern += '\n' |
| 603 | regex = re.compile(r'^' + pattern, re.MULTILINE) |
| 604 | self.assertRegex(output, regex) |
| 605 | |
| 606 | def parse_executed_tests(self, output): |
| 607 | regex = (fr'^{LOG_PREFIX}\[ *[0-9]+(?:/ *[0-9]+)*\] ' |
no test coverage detected