From 8627547bc8faecc5cf61afc1f62af57b69ede3d1 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 7 Apr 2022 13:35:12 -0300 Subject: [PATCH] Added regression test for #178 --- tests/test_plot/test_sch_errors.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_plot/test_sch_errors.py b/tests/test_plot/test_sch_errors.py index 54eaa786..de961fa1 100644 --- a/tests/test_plot/test_sch_errors.py +++ b/tests/test_plot/test_sch_errors.py @@ -314,3 +314,11 @@ def test_sch_errors_bad_snum(test_dir): def test_sch_errors_bad_tbentry(test_dir): if context.ki5(): setup_ctx(test_dir, 'bad_tbentry', 'Wrong entry in title block') + + +def test_imported_k6(test_dir): + """ Test we can load an schematic with an imported sub-sheet (#178) """ + if context.ki6(): + prj = 'imported_top' + ctx = context.TestContextSCH(test_dir, 'test_imported_k6', prj, 'int_bom_simple_csv', None) + ctx.run()