Make some time pass for the timeout object
(
self, seconds: int, timeout: Timeout, time_mock: Mock
)
| 641 | assert len(w) == 1 |
| 642 | |
| 643 | def _make_time_pass( |
| 644 | self, seconds: int, timeout: Timeout, time_mock: Mock |
| 645 | ) -> Timeout: |
| 646 | """Make some time pass for the timeout object""" |
| 647 | time_mock.return_value = TIMEOUT_EPOCH |
| 648 | timeout.start_connect() |
| 649 | time_mock.return_value = TIMEOUT_EPOCH + seconds |
| 650 | return timeout |
| 651 | |
| 652 | @pytest.mark.parametrize( |
| 653 | "kwargs, message", |
no test coverage detected