def test_multiple_count(self):
        calls_per_second = 10
        seconds = 2
        clock = Clock()
        request = TestRequest()
        scenario = RequestLoadScenario(
            clock, request, request_rate=calls_per_second
        )
        scenario._request_and_measure(seconds)
        self.assertEqual(
            scenario.rate_measurer.get_metrics()['ok_count'],
            calls_per_second * seconds
        )
Walk a git repository.
dataset/ETHPy150Open ClusterHQ/flocker/benchmark/scenarios/test/test_request_load.py/RequestMeasureTests.test_multiple_count--crossover with--dataset/ETHPy150Open ravello/testmill/lib/testmill/versioncontrol.py/walk_git_repository