From 03bef0eb089de161b33d2f92783d1be5b06aa307 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 1 Aug 2018 11:01:41 +0200 Subject: o Updating demo project, reorganizing the demo a bit. o DataSetManager: renaming `add_ds` to `register_ds`. --- test/doit/test_doit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/doit/test_doit.py b/test/doit/test_doit.py index 969d75c..6f70c6b 100644 --- a/test/doit/test_doit.py +++ b/test/doit/test_doit.py @@ -36,8 +36,8 @@ def exec_task(task): def test_doit(tmpdir, caplog): dsm = DataSetManager(os.path.join(tmpdir, "ee")) - dsm.add_ds("csv", "kicad-footprint", "kicad-footprint-mapping", - path=schematics_dir / "ee" / "kicad-footprint.csv") + dsm.register_ds("csv", "kicad-footprint", "kicad-footprint-mapping", + path=schematics_dir / "ee" / "kicad-footprint.csv") 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, -- cgit v1.2.3