def METHOD_NAME(self):
    settings.EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"
    self.mas = ProfileFactory()
    settings.ZDS_APP["member"]["bot_account"] = self.mas.user.username
    self.anonymous = UserFactory(username=settings.ZDS_APP["member"]["anonymous_account"], password="anything")
    self.external = UserFactory(username=settings.ZDS_APP["member"]["external_account"], password="anything")
    self.category1 = ForumCategoryFactory(position=1)
    self.forum11 = ForumFactory(category=self.category1, position_in_category=1)
    self.staff = StaffProfileFactory().user
    self.bot = Group(name=settings.ZDS_APP["member"]["bot_group"])
    self.bot.save()