mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 19:04:02 +08:00
fix tests, artiq_run after implementing scheduler defaults (#1290)
This commit is contained in:
parent
5e7c83c9cf
commit
fcf8828cb6
@ -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")
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user