Adjusted tests to the l1.dcm addition

This commit is contained in:
Diego Capusotto 2021-12-17 10:30:13 -03:00
parent 95ddda0953
commit c3b987eb6f
1 changed files with 4 additions and 2 deletions

View File

@ -146,7 +146,8 @@ def test_sch_missing_1(test_dir):
ctx.search_err("Component .?Resistor.? doesn't specify its library") ctx.search_err("Component .?Resistor.? doesn't specify its library")
ctx.search_err("Missing component .?l1:FooBar.?") ctx.search_err("Missing component .?l1:FooBar.?")
ctx.search_err("Missing component(.*)Resistor", invert=True) 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() 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("Component .?Resistor.? doesn't specify its library")
ctx.search_err("Missing component .?l1:FooBar.?", invert=True) ctx.search_err("Missing component .?l1:FooBar.?", invert=True)
ctx.search_err("Missing component(.*)Resistor", 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() ctx.clean_up()