(self)
| 54 | assert self.tb.get_result(self.tid) == 42 |
| 55 | |
| 56 | def test_is_pickled(self): |
| 57 | result = {'foo': 'baz', 'bar': SomeClass(12345)} |
| 58 | self.tb.mark_as_done(self.tid, result) |
| 59 | # is serialized properly. |
| 60 | rindb = self.tb.get_result(self.tid) |
| 61 | assert rindb.get('foo') == 'baz' |
| 62 | assert rindb.get('bar').data == 12345 |
| 63 | |
| 64 | def test_mark_as_failure(self): |
| 65 | try: |
nothing calls this directly
no test coverage detected