def test_rate_is_lower_than_target_when_not_enough_samples(self):
        r = RateMeasurer()
        target_rate = 5
        num_samples = r.sample_size - 1

        self.increase_rate(r, target_rate, num_samples)

        self.assertTrue(r.rate() < target_rate)
Test thet preApplication and postApplication methods are
dataset/ETHPy150Open ClusterHQ/flocker/benchmark/scenarios/test/test_rate_measurer.py/RateMeasurerTest.test_rate_is_lower_than_target_when_not_enough_samples--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/ApplicationRunnerTest.test_preAndPostApplication