(self, output, pattern, full=False, regex=True)
| 634 | return match |
| 635 | |
| 636 | def check_line(self, output, pattern, full=False, regex=True): |
| 637 | if not regex: |
| 638 | pattern = re.escape(pattern) |
| 639 | if full: |
| 640 | pattern += '\n' |
| 641 | regex = re.compile(r'^' + pattern, re.MULTILINE) |
| 642 | self.assertRegex(output, regex) |
| 643 | |
| 644 | def parse_executed_tests(self, output): |
| 645 | regex = (fr'^{LOG_PREFIX}\[ *[0-9]+(?:/ *[0-9]+)*\] ' |
no test coverage detected