From 0d1894286971d3ca8b76d440f63c4ce1f653b89c Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 30 Jan 2016 20:04:32 -0700 Subject: [PATCH] hardware_testbench: request controller termination --- artiq/test/hardware_testbench.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/test/hardware_testbench.py b/artiq/test/hardware_testbench.py index c2b60a153..a611e5905 100644 --- a/artiq/test/hardware_testbench.py +++ b/artiq/test/hardware_testbench.py @@ -27,6 +27,8 @@ class ControllerCase(unittest.TestCase): self.controllers = {} def tearDown(self): + for name in self.controllers: + self.device_mgr.get(name).terminate() self.device_mgr.close_devices() for name in list(self.controllers): self.stop_controller(name)