'Test that X-Frame-Options is \'DENY\' when xframe_options is set to deny'

def test_xframe_options_deny(self):

    page = create_page(title='home', template='nav_playground.html', language='en', published=True, slug='home', xframe_options=Page.X_FRAME_OPTIONS_DENY)
    resp = self.client.get(page.get_absolute_url('en'))
    self.assertEqual(resp.get('X-Frame-Options'), 'DENY')
