From 4f5e9d6006a77bb68abaae9fab1d991188a7e643 Mon Sep 17 00:00:00 2001 From: regiov Date: Wed, 4 Aug 2021 10:38:28 -0300 Subject: [PATCH] Included settings to disable teams --- quicktest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quicktest.py b/quicktest.py index 8c3f6297..dd1f19df 100644 --- a/quicktest.py +++ b/quicktest.py @@ -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