From 831485bd027eb288f52a16f2078b232553758d3c Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 16 Jul 2018 13:23:36 +0200 Subject: wip --- test/doit/test_doit.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.3