Fixing some unit tests

This commit is contained in:
Garret Wassermann
2022-04-22 14:52:51 -04:00
parent 449e3f9214
commit 5e8f5fed62
5 changed files with 20 additions and 11 deletions

View File

@ -40,6 +40,7 @@ class QuickDjangoTest(object):
#'account',
#'pinax.invitations',
#'pinax.teams',
'rest_framework',
'helpdesk',
#'reversion',
)
@ -104,7 +105,9 @@ class QuickDjangoTest(object):
## The following settings disable teams
HELPDESK_TEAMS_MODEL = 'auth.User',
HELPDESK_TEAMS_MIGRATION_DEPENDENCIES = [],
HELPDESK_KBITEM_TEAM_GETTER = lambda _: None
HELPDESK_KBITEM_TEAM_GETTER = lambda _: None,
## test the API
HELPDESK_ACTIVATE_API_ENDPOINT=True
)
from django.test.runner import DiscoverRunner