diff --git a/tests/test_plot/test_ibom.py b/tests/test_plot/test_ibom.py index 342df95b..182a800d 100644 --- a/tests/test_plot/test_ibom.py +++ b/tests/test_plot/test_ibom.py @@ -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() diff --git a/tests/yaml_samples/ibom_no_ops.kiplot.yaml b/tests/yaml_samples/ibom_no_ops.kiplot.yaml new file mode 100644 index 00000000..90b8c9e7 --- /dev/null +++ b/tests/yaml_samples/ibom_no_ops.kiplot.yaml @@ -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 +