def test_get_interval(url_prefix):
    session = RateLimitRequests(interval=0.2)
    resp1 = session.get(url_prefix + '/get')
    t = datetime.now()
    resp2 = session.get(url_prefix + '/ip')
    assert datetime.now() - t > timedelta(seconds=0.1)
dataset/ETHPy150Open spaceboats/busbus/tests/test_util_rate_limit_requests.py/test_get_interval/original