Create report templates when testing

This commit is contained in:
Oliver 2021-08-11 11:07:30 +10:00
parent 2cf7592198
commit 3cdcdd0535
2 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,7 @@ class ReportConfig(AppConfig):
This function is called whenever the report app is loaded
"""
if canAppAccessDatabase():
if canAppAccessDatabase(allow_test=True):
self.create_default_test_reports()
self.create_default_build_reports()

View File

@ -1,2 +0,0 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals