diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/doit/test_doit.py | 8 |
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 |