aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-07-16 13:23:36 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-07-16 13:23:36 +0200
commit831485bd027eb288f52a16f2078b232553758d3c (patch)
treeec722ff3add026b5c4afa7eea96afad7c32201d9 /test
parent2c9386bf9f1d465907903e7da79663b5b7e30ace (diff)
downloadee-python-831485bd027eb288f52a16f2078b232553758d3c.tar.gz
ee-python-831485bd027eb288f52a16f2078b232553758d3c.tar.bz2
ee-python-831485bd027eb288f52a16f2078b232553758d3c.tar.xz
ee-python-831485bd027eb288f52a16f2078b232553758d3c.zip
wip
Diffstat (limited to 'test')
-rw-r--r--test/doit/test_doit.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/doit/test_doit.py b/test/doit/test_doit.py
index 61c5074..ff480c5 100644
--- a/test/doit/test_doit.py
+++ b/test/doit/test_doit.py
@@ -25,11 +25,15 @@ def test_doit(tmpdir):
args = dict(
sch=os.path.join(schematics_dir, "schematic-1.sch"),
- sch_object_set_dir=os.path.join(tmpdir, "kicad-sch")
+ kicad_sch_object_set_dir=os.path.join(tmpdir, "kicad-sch"),
+ component_object_set_dir=os.path.join(tmpdir, "component"),
)
tasks = list(KicadDoitTasks(**args).tasks())
- assert(len(tasks) == 1)
+ assert(len(tasks) > 1)
create_kicad_sch_objects = find_task(tasks, "create-kicad-sch-objects")
exec_task(create_kicad_sch_objects)
+ kicad_sch_to_component_object = find_task(tasks, "kicad-sch-to-component-object")
+ exec_task(kicad_sch_to_component_object)
+
# thirdparty/olinuxino/HARDWARE/A64-OLinuXino/A64-OLinuXino_Rev_C/A64-OlinuXino_Rev_C.sch