Added test for iBoM without options.

This commit is contained in:
Salvador E. Tropea 2020-05-26 14:01:52 -03:00
parent 7b8aa57610
commit ee6238a2ce
2 changed files with 18 additions and 0 deletions

View File

@ -31,3 +31,11 @@ def test_ibom():
html = name+'.html'
ctx.expect_out_file(html)
ctx.clean_up()
def test_ibom_no_ops():
prj = 'bom'
ctx = context.TestContext('BoM_interactiveNoOps', prj, 'ibom_no_ops', BOM_DIR)
ctx.run()
ctx.expect_out_file(os.path.join(BOM_DIR, 'ibom.html'))
ctx.clean_up()

View File

@ -0,0 +1,10 @@
# Example KiPlot config file
kiplot:
version: 1
outputs:
- name: 'interactive_bom'
comment: "Interactive Bill of Materials (HTML)"
type: ibom
dir: BoM