From 7cdcaf0d007041e513a15e798789caa5ba53dc9d Mon Sep 17 00:00:00 2001 From: Chris Ballance Date: Thu, 21 Mar 2019 23:09:30 +0000 Subject: [PATCH] tests: fix coredevice tests after implementing scheduler defaults --- artiq/test/coredevice/test_portability.py | 2 +- artiq/test/hardware_testbench.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/test/coredevice/test_portability.py b/artiq/test/coredevice/test_portability.py index 2238ea805..a861b6833 100644 --- a/artiq/test/coredevice/test_portability.py +++ b/artiq/test/coredevice/test_portability.py @@ -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 diff --git a/artiq/test/hardware_testbench.py b/artiq/test/hardware_testbench.py index 32bc8cd4a..d13a2f68e 100644 --- a/artiq/test/hardware_testbench.py +++ b/artiq/test/hardware_testbench.py @@ -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