def testOverMax__expected_duration_is_21_seconds(self):
        # The rate limiter allows bursts.. the bigger cnt is the
        # closer to the actual limit the result will be, but the
        # longer the test will take.
        cnt = 300
        tt = send_at_rate(10, 100, cnt)
        print('send_at_rate(10, 100, %s) --> %s'%(cnt, str(tt)))
        actRate = cnt / timePeriodSeconds(tt)
        self.assertGreater(15, actRate)  # add a little buffer for overage... just a little
dataset/ETHPy150Open godaddy/Thespian/thespian/system/test/test_ratelimit.py/TestRateLimit.testOverMax__expected_duration_is_21_seconds/original