aboutsummaryrefslogtreecommitdiff
path: root/test/doit/test_doit.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/doit/test_doit.py')
-rw-r--r--test/doit/test_doit.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/doit/test_doit.py b/test/doit/test_doit.py
index 32eb138..2f6f035 100644
--- a/test/doit/test_doit.py
+++ b/test/doit/test_doit.py
@@ -6,15 +6,16 @@ from pathlib import Path
from ee.ds import DataSetManager
from inspect import Parameter
import ee.kicad.doit
+import ee.digikey.doit
from ee.kicad.doit import *
+from ee.digikey.doit import *
logger = logging.getLogger(__name__)
file_dir = Path(__file__).parent
schematics_dir = file_dir / "schematics"
-
def exec_task(task):
targets = task["targets"]
for a in task["actions"]:
@@ -44,6 +45,9 @@ def test_doit(tmpdir, caplog):
sch=schematics_dir / "schematic-1.sch",
kicad_pcb=schematics_dir / "schematic-1.kicad_pcb",)
+ ee.digikey.doit.doit_config.configure(data_set_manager=dsm)
+
exec_task(task_kicad_sch_to_data_set())
exec_task(task_kicad_pcb_to_data_set())
exec_task(task_kicad_create_component_data_set())
+ exec_task(task_digikey_resolve_schematic_components())