From 4896b414e70b7c537825ea3375915e1f46d1b9cd Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 1 Aug 2018 10:33:39 +0200 Subject: o Moving all doit modules to use DoitConfig(). --- test/doit/test_doit.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/doit/test_doit.py b/test/doit/test_doit.py index 2f6f035..969d75c 100644 --- a/test/doit/test_doit.py +++ b/test/doit/test_doit.py @@ -39,10 +39,11 @@ def test_doit(tmpdir, caplog): dsm.add_ds("csv", "kicad-footprint", "kicad-footprint-mapping", path=schematics_dir / "ee" / "kicad-footprint.csv") - ee.kicad.doit.change_data_sets_for_task(task_kicad_create_component_data_set, lambda ds: ds + ["kicad-footprint"]) + ee.kicad.doit.doit_config.configure(data_set_manager=dsm) + ee.kicad.doit.doit_config.change_data_sets_for_task(task_kicad_create_component_data_set, + lambda ds: ds + ["kicad-footprint"]) - ee.kicad.doit.init(data_set_manager=dsm, - sch=schematics_dir / "schematic-1.sch", + ee.kicad.doit.init(sch=schematics_dir / "schematic-1.sch", kicad_pcb=schematics_dir / "schematic-1.kicad_pcb",) ee.digikey.doit.doit_config.configure(data_set_manager=dsm) -- cgit v1.2.3