@override_settings(WAGTAILADMIN_RICH_TEXT_EDITORS={'default': {'WIDGET': 'wagtail.tests.testapp.rich_text.CustomRichTextArea'}})
def test_overridden_default_editor(self):
    self.assertIsInstance(get_rich_text_editor_widget(), CustomRichTextArea)
@override_settings(WAGTAILADMIN_RICH_TEXT_EDITORS={'default': {'WIDGET': 'wagtail.tests.testapp.rich_text.CustomRichTextArea'}})
def test_overridden_default_editor(self):
    self.assertIsInstance(get_rich_text_editor_widget(), CustomRichTextArea)