Create report templates when testing

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

No files matched your search

+1 -1
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()
-2
View File
@@ -1,2 +0,0 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals