forked from M-Labs/artiq
1
0
Fork 0

tests: fix coredevice tests after implementing scheduler defaults

This commit is contained in:
Chris Ballance 2019-03-21 23:09:30 +00:00 committed by Sébastien Bourdeauducq
parent 33b28f6e56
commit 7cdcaf0d00
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ def _run_on_host(k_class, *args, **kwargs):
device_mgr = dict()
device_mgr["core"] = sim_devices.Core(device_mgr)
k_inst = k_class((device_mgr, None, None),
k_inst = k_class((device_mgr, None, None, {}),
*args, **kwargs)
k_inst.run()
return k_inst

View File

@ -111,7 +111,7 @@ class ExperimentCase(unittest.TestCase):
def create(self, cls, *args, **kwargs):
try:
exp = cls(
(self.device_mgr, self.dataset_mgr, None),
(self.device_mgr, self.dataset_mgr, None, {}),
*args, **kwargs)
except DeviceError as e:
# skip if ddb does not match requirements