(self)
| 587 | |
| 588 | class RequesterUnThrottled(RequesterThrottleTestCase): |
| 589 | def testShouldNotDeferRequests(self): |
| 590 | with self.mock_sleep() as sleep_mock: |
| 591 | # same test setup as in RequesterThrottled.testShouldDeferRequests |
| 592 | with self.replayData("RequesterThrottleTestCase.testDeferRequests.txt"): |
| 593 | repository = self.g.get_repo(REPO_NAME) |
| 594 | releases = list(repository.get_releases()) |
| 595 | self.assertEqual(len(releases), 30) |
| 596 | |
| 597 | sleep_mock.assert_not_called() |
| 598 | |
| 599 | |
| 600 | class RequesterThrottled(RequesterThrottleTestCase): |
nothing calls this directly
no test coverage detected