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')
Get an event from the database by event_id.
dataset/ETHPy150Open divio/django-cms/cms/tests/test_page.py/PagesTestCase.test_xframe_options_deny--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/storage/events.py/EventsStore.get_event