def setUp(self):
    super(TestDefaultRichText, self).setUp()
    self.root_page = Page.objects.get(id=2)
    self.login()
    if hasattr(settings, 'WAGTAILADMIN_RICH_TEXT_EDITORS'):
        del settings.WAGTAILADMIN_RICH_TEXT_EDITORS
def setUp(self):
    super(TestDefaultRichText, self).setUp()
    self.root_page = Page.objects.get(id=2)
    self.login()
    if hasattr(settings, 'WAGTAILADMIN_RICH_TEXT_EDITORS'):
        del settings.WAGTAILADMIN_RICH_TEXT_EDITORS