diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7c818ab3..214c9b74 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,6 +5,11 @@ trigger: - master +- 0.3 + +pr: +- master +- 0.3 pool: vmImage: ubuntu-latest @@ -63,9 +68,3 @@ steps: #python manage.py test --testrunner xmlrunner.extra.djangotestrunner.XMLTestRunner --no-input python quicktest.py helpdesk displayName: 'Run tests' - -- task: PublishTestResults@2 - inputs: - testResultsFiles: "**/TEST-*.xml" - testRunTitle: 'Python $(PYTHON_VERSION)' - condition: succeededOrFailed() diff --git a/quicktest.py b/quicktest.py index dd1f19df..0c488f9b 100644 --- a/quicktest.py +++ b/quicktest.py @@ -100,6 +100,7 @@ class QuickDjangoTest(object): LOGIN_URL='/helpdesk/login/', TEMPLATES=self.TEMPLATES, SITE_ID=1, + SECRET_KEY='wowdonotusethisfakesecuritykeyyouneedarealsecure1', ## The following settings disable teams HELPDESK_TEAMS_MODEL = 'auth.User', HELPDESK_TEAMS_MIGRATION_DEPENDENCIES = [],