Added test for DNF in the Value.

This commit is contained in:
SET 2020-08-11 19:26:37 -03:00
parent f229956b25
commit 652b38f04d
2 changed files with 15 additions and 2 deletions

View File

@ -94,8 +94,20 @@ F 0 "R2" H 4270 2396 50 0000 L CNN
F 1 "100" H 4270 2305 50 0000 L CNN
F 2 "" V 4130 2350 50 0001 C CNN
F 3 "~" H 4200 2350 50 0001 C CNN
F 4 "DNF, DNC" H 4200 2350 50 0001 C CNN "Config"
F 4 "DNF,DNC" H 4200 2350 50 0001 C CNN "Config"
1 4200 2350
1 0 0 -1
$EndComp
$Comp
L Device:R R3
U 1 1 5F331E0B
P 4200 2750
F 0 "R3" H 4270 2796 50 0000 L CNN
F 1 "DNF" H 4270 2705 50 0000 L CNN
F 2 "" V 4130 2750 50 0001 C CNN
F 3 "~" H 4200 2750 50 0001 C CNN
F 4 "DNF,DNC" H 4200 2750 50 0001 C CNN "Config"
1 4200 2750
1 0 0 -1
$EndComp
$EndSCHEMATC

View File

@ -531,7 +531,8 @@ def test_int_bom_no_group_csv():
def test_int_bom_repeat_csv():
""" Multipart component (not repeated) """
""" Multipart component (not repeated)
Also DNC in value + Config. """
prj = 'kibom-test-rep'
ext = 'csv'
ctx = context.TestContextSCH('test_int_bom_repeat_csv', prj, 'int_bom_simple_csv', BOM_DIR)