(self)
| 650 | print("Log on success: " + self.get_log_contents()) |
| 651 | |
| 652 | def get_log_contents(self): |
| 653 | log_contents = "" |
| 654 | if self.pydevd_debug_file: |
| 655 | for f in pydev_log.list_log_files(self.pydevd_debug_file): |
| 656 | if os.path.exists(f): |
| 657 | with open(f, "r") as stream: |
| 658 | log_contents += "\n-------------------- %s ------------------\n\n" % (f,) |
| 659 | log_contents += stream.read() |
| 660 | return log_contents |
| 661 | |
| 662 | def fail_with_message(self, msg, stdout, stderr, writerThread): |
| 663 | log_contents = self.get_log_contents() |
no test coverage detected