mirror of https://github.com/m-labs/artiq.git
hardware_testbench: request controller termination
This commit is contained in:
parent
9fb5ef4d86
commit
0d18942869
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue