mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Create report templates when testing
This commit is contained in:
parent
2cf7592198
commit
3cdcdd0535
@ -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
|
Loading…
Reference in New Issue
Block a user