(self, expected_class, accept_message=lambda obj: True)
| 90 | self._sent_launch_or_attach = False |
| 91 | |
| 92 | def mark_messages(self, expected_class, accept_message=lambda obj: True): |
| 93 | ret = [] |
| 94 | for message_with_mark in self._all_json_messages_found: |
| 95 | if not message_with_mark.marked: |
| 96 | if isinstance(message_with_mark.msg, expected_class): |
| 97 | if accept_message(message_with_mark.msg): |
| 98 | message_with_mark.marked = True |
| 99 | ret.append(message_with_mark.msg) |
| 100 | return ret |
| 101 | |
| 102 | def wait_for_json_message(self, expected_class, accept_message=lambda obj: True): |
| 103 |
no test coverage detected