(self, test)
| 44 | self.stream.flush() |
| 45 | |
| 46 | def startTest(self, test): |
| 47 | self.showAll = False |
| 48 | super().startTest(test) |
| 49 | self.showAll = True |
| 50 | clearline(self.stream) |
| 51 | prefix_len = self.writeProgressPrefix() |
| 52 | total_width = term_width() |
| 53 | max_desc = total_width - prefix_len - len(' ... ') - self.min_status_msg |
| 54 | desc = str(test)[:max_desc] |
| 55 | self.stream.write(desc) |
| 56 | self.stream.write(' ... ') |
| 57 | self.stream.flush() |
| 58 | |
| 59 | # Calculate the remaining terminal width available for the _write_status |
| 60 | # message. This will never be lower than `self.max_status_msg` |
| 61 | self.status_limit = total_width - prefix_len - len(desc) - len(' ... ') |
| 62 | |
| 63 | def printErrors(self): |
| 64 | # All tests have been run at this point so print a final newline |
nothing calls this directly
no test coverage detected