diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-01 10:33:39 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-01 10:34:01 +0200 |
commit | 4896b414e70b7c537825ea3375915e1f46d1b9cd (patch) | |
tree | 8894a264e8147b949077101703815db460ec10f6 /test | |
parent | 6d93764b9e093193783da94eced2a27b1c33b1aa (diff) | |
download | ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.tar.gz ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.tar.bz2 ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.tar.xz ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.zip |
o Moving all doit modules to use DoitConfig().
Diffstat (limited to 'test')
-rw-r--r-- | test/doit/test_doit.py | 7 |
1 files changed, 4 insertions, 3 deletions
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) |