diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-13 09:45:09 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-13 09:45:09 +0200 |
commit | ee62dd01720c8481599a717d067014164af7e096 (patch) | |
tree | 734d5041f5363dcfc40fb4abad499cc080ae7260 /test | |
parent | f81ef15ac28bcfea2dad9e7bfd78293f507210c0 (diff) | |
download | ee-python-ee62dd01720c8481599a717d067014164af7e096.tar.gz ee-python-ee62dd01720c8481599a717d067014164af7e096.tar.bz2 ee-python-ee62dd01720c8481599a717d067014164af7e096.tar.xz ee-python-ee62dd01720c8481599a717d067014164af7e096.zip |
ee.kicad.model: Adding Symbol, exposing in addition existing parsing of value. v4 and v5 compatible.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_read_schematic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_read_schematic.py b/test/test_read_schematic.py index 2b269a6..9486c6d 100644 --- a/test/test_read_schematic.py +++ b/test/test_read_schematic.py @@ -45,6 +45,10 @@ def test_demo_1(): dump_bom(sch) r101 = sch.get_component("R101") assert r101 + # KiCAD 4 + assert r101.symbol.name == "R" + # If this doesn't fail, you've upgraded the .sch files to KiCAD5+. Don't do that, make a new one. + assert r101.symbol.library is None def test_sch(): |