'Test two calls to 1 GET per second limit.'

def test_GET_delay(self):

    limit = limits.Limit('GET', '*', '.*', 1, 1)
    delay = limit('GET', '/anything')
    self.assertIsNone(delay)
    delay = limit('GET', '/anything')
    self.assertEqual(1, delay)
    self.assertEqual(1, limit.next_request)
    self.assertEqual(0, limit.last_request)
    self.time += 4
    delay = limit('GET', '/anything')
    self.assertIsNone(delay)
    self.assertEqual(4, limit.next_request)
    self.assertEqual(4, limit.last_request)
