Set multi_db to True in spam test.
This commit is contained in:
parent
3a414f521c
commit
1ec85faf0f
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ profile_app, profile_model = settings.AUTH_PROFILE_MODULE.split('.')
|
|||
UserProfileModel = models.get_model(profile_app, profile_model)
|
||||
|
||||
class ForumSpamTests(TestCase):
|
||||
multi_db = True
|
||||
|
||||
def setUp(self):
|
||||
Category.objects.create(name=forum_settings.SPAM_CATEGORY_NAME)
|
||||
self.password = "password"
|
||||
|
|
Reference in a new issue