def METHOD_NAME(self):
    r = self.allowFunc('ipv4baddie', '114.31.192.200', "1234")
    j = r.json()
    self.assertEquals(j['status'], 0)
    r.close()
    for i in range(50):
        r = self.reportFunc('ipv4baddie%s' % i, "114.31.192.%s" % i, "1234", True)
        r.json()
    r = self.allowFunc('ipv4baddie', '114.31.192.200', "1234")
    j = r.json()
    self.assertEquals(j['status'], -1)
    # Wait for the time windows to clear and then check again
    time.sleep(20)
    r = self.allowFunc('ipv4baddie', '114.31.192.200', "1234")
    j = r.json()
    self.assertEquals(j['status'], 0)