def test_overridden_default_editor_in_rich_text_field(self):
    response = self.client.get(reverse('wagtailadmin_pages:add', args=('tests', 'defaultrichtextfieldpage', self.root_page.id)))
    self.assertEqual(response.status_code, 200)
    self.assertNotContains(response, 'makeHalloRichTextEditable("id_body");')
    self.assertContains(response, 'customEditorInitScript("id_body");')
def test_overridden_default_editor_in_rich_text_field(self):
    response = self.client.get(reverse('wagtailadmin_pages:add', args=('tests', 'defaultrichtextfieldpage', self.root_page.id)))
    self.assertEqual(response.status_code, 200)
    self.assertNotContains(response, 'makeHalloRichTextEditable("id_body");')
    self.assertContains(response, 'customEditorInitScript("id_body");')