def METHOD_NAME(self):
    self.getPage('/referer/accept')
    self.assertErrorPage(403, 'Forbidden Referer header.')
    self.getPage('/referer/accept',
                 headers=[('Referer', 'http://www.example.com/')])
    self.assertStatus(200)
    self.assertBody('Accepted!')
    # Reject
    self.getPage('/referer/reject')
    self.assertStatus(200)
    self.assertBody('Accepted!')
    self.getPage('/referer/reject',
                 headers=[('Referer', 'http://www.example.com/')])
    self.assertErrorPage(403, 'Forbidden Referer header.')