Skip to content

Commit d05d720

Browse files
committedJan 30, 2016
tests: misc fixes, cleanup
1 parent 107e2fe commit d05d720

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
 

Diff for: ‎artiq/test/ctlmgr.py

-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,5 @@ def test_start_ping_stop_controller(self):
6565
async def test():
6666
await self.start("lda_sim", entry)
6767
remote = await self.get_client(entry["host"], entry["port"])
68-
await remote.close()
6968

7069
self.loop.run_until_complete(test())

Diff for: ‎artiq/test/hardware_testbench.py

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def start_controller(self, name, sleep=1):
4646
def stop_controller(self, name, default_timeout=1):
4747
entry, proc = self.controllers[name]
4848
t = entry.get("term_timeout", default_timeout)
49+
proc.terminate()
4950
try:
5051
proc.wait(t)
5152
except subprocess.TimeoutExpired:

Diff for: ‎artiq/test/thorlabs_tcube.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
22
import time
33

4-
from artiq.devices.thorlabs_tcube.driver import Tdc, Tpz, TdcSim, TpzSim
4+
from artiq.devices.thorlabs_tcube.driver import TdcSim, TpzSim
55
from artiq.language.units import V
66
from artiq.test.hardware_testbench import ControllerCase
77

0 commit comments

Comments
 (0)
Please sign in to comment.