Merge branch 'main' of github.com:sartography/spiffworkflow-backend

This commit is contained in:
jasquat 2022-08-29 10:12:10 -04:00
commit 299f715a2a
1 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,7 @@ def main():
from spiffworkflow_backend.services.process_instance_service import (
ProcessInstanceService,
)
from spiffworkflow_backend.models.process_instance_report import ProcessInstanceReportModel
process_model_identifier_ticket = "ticket"
db.session.query(ProcessInstanceModel).filter(
@ -42,7 +43,7 @@ def main():
}
columns_to_header_index_mappings = {}
user = UserModel.query.filter_by(username="test_user1").first()
user = UserModel.query.first()
with open("tests/files/tickets.csv") as infile:
reader = csv.reader(infile, delimiter=",")
@ -97,6 +98,9 @@ def main():
process_instance_data = processor.get_data()
print(f"process_instance_data: {process_instance_data}")
ProcessInstanceReportModel.add_fixtures()
print("added report fixtures")
main()