From 6cd194703674268b313918b590f2bc483c641efa Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 8 Dec 2017 20:52:02 +0100 Subject: o Parsing pads and stuff. --- test/test_parse_pcb.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'test/test_parse_pcb.py') diff --git a/test/test_parse_pcb.py b/test/test_parse_pcb.py index 9592b92..3199a78 100644 --- a/test/test_parse_pcb.py +++ b/test/test_parse_pcb.py @@ -12,4 +12,11 @@ def test_parsing(): del kicad_pcb.modules print(str(kicad_pcb)) for m in modules: - print(m) + pads = m.pads + del m.pads + print(" {}".format(m)) + for p in pads: + print(" {}".format(p)) + + assert len(modules) == 4 + assert len(pads) == 2 -- cgit v1.2.3