aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-09-24 09:46:21 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-09-24 09:46:21 +0200
commit930e3d61917bd4bf162142db64301691afdf9539 (patch)
treef2e06b6aef12026a5f99742ca78f178f63f5037b /test
parent33a03ca8cb65202509bd009832010f8f587ace47 (diff)
downloadee-python-930e3d61917bd4bf162142db64301691afdf9539.tar.gz
ee-python-930e3d61917bd4bf162142db64301691afdf9539.tar.bz2
ee-python-930e3d61917bd4bf162142db64301691afdf9539.tar.xz
ee-python-930e3d61917bd4bf162142db64301691afdf9539.zip
o Let digikey-download-facts read .sch files directly.
Diffstat (limited to 'test')
-rw-r--r--test/test_read_schematic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_read_schematic.py b/test/test_read_schematic.py
index 3943e9a..1af7002 100644
--- a/test/test_read_schematic.py
+++ b/test/test_read_schematic.py
@@ -24,7 +24,7 @@ def dump_bom(sch):
from xml.dom import minidom
print("---")
- bom = kicad.to_bom(sch)
+ bom = kicad.to_bom_xml(sch)
s = ElementTree.tostring(bom, encoding='unicode')
print(s)
xmlstr = minidom.parseString(s).toprettyxml(indent=" ")