diff options
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 | 
