2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

hardware_testbench: request controller termination

This commit is contained in:
Robert Jördens 2016-01-30 20:04:32 -07:00
parent 9fb5ef4d86
commit 0d18942869

View File

@ -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)