bizmodel example report export wip
This commit is contained in:
14
lib/biz/bizmodel/export_test.v
Normal file
14
lib/biz/bizmodel/export_test.v
Normal file
@@ -0,0 +1,14 @@
|
||||
module bizmodel
|
||||
|
||||
import os
|
||||
import freeflowuniverse.herolib.web.docusaurus
|
||||
|
||||
const bizmodel_name = 'test'
|
||||
const export_path = os.join_path(os.dir(@FILE), 'testdata')
|
||||
|
||||
pub fn test_export_report() ! {
|
||||
model := getset(bizmodel_name)!
|
||||
model.export_report(Report{
|
||||
title: 'My Business Model'
|
||||
}, path: export_path)!
|
||||
}
|
||||
Reference in New Issue
Block a user