aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_read_schematic.py4
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():