From c3b987eb6f69d4a208791cddd16b5f03da8e0dec Mon Sep 17 00:00:00 2001 From: Diego Capusotto Date: Fri, 17 Dec 2021 10:30:13 -0300 Subject: [PATCH] Adjusted tests to the l1.dcm addition --- tests/test_plot/test_print_sch.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_plot/test_print_sch.py b/tests/test_plot/test_print_sch.py index b1155953..de7e2a06 100644 --- a/tests/test_plot/test_print_sch.py +++ b/tests/test_plot/test_print_sch.py @@ -146,7 +146,8 @@ def test_sch_missing_1(test_dir): ctx.search_err("Component .?Resistor.? doesn't specify its library") ctx.search_err("Missing component .?l1:FooBar.?") ctx.search_err("Missing component(.*)Resistor", invert=True) - ctx.search_out(r"Found 3 unique warning/s \(") + ctx.search_err("Missing doc-lib entry for l1:C") + ctx.search_out(r"Found 4 unique warning/s \(") ctx.clean_up() @@ -161,7 +162,8 @@ def test_sch_missing_filtered(test_dir): ctx.search_err("Component .?Resistor.? doesn't specify its library") ctx.search_err("Missing component .?l1:FooBar.?", invert=True) ctx.search_err("Missing component(.*)Resistor", invert=True) - ctx.search_out(r"Found 2 unique warning/s \(\d+ total, \d+ filtered\)") + ctx.search_err("Missing doc-lib entry for l1:C") + ctx.search_out(r"Found 3 unique warning/s \(\d+ total, \d+ filtered\)") ctx.clean_up()