diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-12-08 20:52:02 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-12-08 20:52:02 +0100 |
commit | 6cd194703674268b313918b590f2bc483c641efa (patch) | |
tree | 1b504f96497280e50f8e5bb6530d46ce570a2047 /test/test_parse_pcb.py | |
parent | efe5d835eaa26d8696c3352c4e1ed42da16fe27b (diff) | |
download | ee-python-6cd194703674268b313918b590f2bc483c641efa.tar.gz ee-python-6cd194703674268b313918b590f2bc483c641efa.tar.bz2 ee-python-6cd194703674268b313918b590f2bc483c641efa.tar.xz ee-python-6cd194703674268b313918b590f2bc483c641efa.zip |
o Parsing pads and stuff.
Diffstat (limited to 'test/test_parse_pcb.py')
-rw-r--r-- | test/test_parse_pcb.py | 9 |
1 files changed, 8 insertions, 1 deletions
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 |