Included settings to disable teams

This commit is contained in:
regiov 2021-08-04 10:38:28 -03:00
parent f6fe738b58
commit 4f5e9d6006

View File

@ -99,7 +99,11 @@ class QuickDjangoTest(object):
STATIC_URL='/static/',
LOGIN_URL='/helpdesk/login/',
TEMPLATES=self.TEMPLATES,
SITE_ID=1
SITE_ID=1,
## The following settings disable teams
HELPDESK_TEAMS_MODEL = 'auth.User',
HELPDESK_TEAMS_MIGRATION_DEPENDENCIES = [],
HELPDESK_KBITEM_TEAM_GETTER = lambda _: None
)
from django.test.runner import DiscoverRunner