From fcf8828cb64cd3e5e6172b68dbc47e99949ac4aa Mon Sep 17 00:00:00 2001 From: Chris Ballance Date: Wed, 13 Mar 2019 15:20:41 +0000 Subject: [PATCH] fix tests, artiq_run after implementing scheduler defaults (#1290) --- artiq/frontend/artiq_run.py | 2 +- artiq/test/test_datasets.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_run.py b/artiq/frontend/artiq_run.py index bc4f81ff5..263b3cf08 100755 --- a/artiq/frontend/artiq_run.py +++ b/artiq/frontend/artiq_run.py @@ -149,7 +149,7 @@ def get_argparser(with_file=True): def _build_experiment(device_mgr, dataset_mgr, args): arguments = parse_arguments(args.arguments) argument_mgr = ProcessArgumentManager(arguments) - managers = (device_mgr, dataset_mgr, argument_mgr) + managers = (device_mgr, dataset_mgr, argument_mgr, {}) if hasattr(args, "file"): is_elf = args.file.endswith(".elf") is_ll = args.file.endswith(".ll") diff --git a/artiq/test/test_datasets.py b/artiq/test/test_datasets.py index db35d7f34..4ea48cc6e 100644 --- a/artiq/test/test_datasets.py +++ b/artiq/test/test_datasets.py @@ -46,7 +46,7 @@ class ExperimentDatasetCase(unittest.TestCase): # connection would marshal updates between dataset_mgr and dataset_db. self.dataset_db = MockDatasetDB() self.dataset_mgr = DatasetManager(self.dataset_db) - self.exp = TestExperiment((None, self.dataset_mgr, None)) + self.exp = TestExperiment((None, self.dataset_mgr, None, None)) def test_set_local(self): with self.assertRaises(KeyError):