forked from M-Labs/artiq
tests: fix coredevice tests after implementing scheduler defaults
This commit is contained in:
parent
33b28f6e56
commit
7cdcaf0d00
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue