'Test that the cached version of the page also allows framing.'

def test_caching(self):

    url = reverse('wiki.document', args=[self.doc.slug], locale='en-US')
    url += '?minimal=1&mobile=1'
    res = self.client.get(url)
    eq_(res.get('X-Frame-Options', 'ALLOW').lower(), 'allow')
    res = self.client.get(url)
    eq_(res.get('X-Frame-Options', 'ALLOW').lower(), 'allow')
