Test processor passing tests and results through and forgiving timeouts.
| 5 | from . import base |
| 6 | |
| 7 | class ExpectationProc(base.TestProcProducer): |
| 8 | """Test processor passing tests and results through and forgiving timeouts.""" |
| 9 | def __init__(self): |
| 10 | super(ExpectationProc, self).__init__('no-timeout') |
| 11 | |
| 12 | def _next_test(self, test): |
| 13 | subtest = test.create_subtest(self, 'no_timeout') |
| 14 | subtest.allow_timeouts() |
| 15 | subtest.allow_pass() |
| 16 | return self._send_test(subtest) |
| 17 | |
| 18 | def _result_for(self, test, subtest, result): |
| 19 | self._send_result(test, result) |
no outgoing calls
no test coverage detected