mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 17:35:21 +00:00
Create report templates when testing
This commit is contained in:
1 parent
2cf7592198
commit
3cdcdd0535
2 files changed
+1
-3
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
Reference in new issue
Block a user