mirror of https://github.com/m-labs/artiq.git
test_ctlmgr: fix
This commit is contained in:
parent
c52081ca0d
commit
912274c6af
|
@ -56,7 +56,6 @@ class ControllerCase(unittest.TestCase):
|
||||||
raise asyncio.TimeoutError
|
raise asyncio.TimeoutError
|
||||||
|
|
||||||
def test_start_ping_stop_controller(self):
|
def test_start_ping_stop_controller(self):
|
||||||
command = sys.executable + " -m "
|
|
||||||
entry = {
|
entry = {
|
||||||
"type": "controller",
|
"type": "controller",
|
||||||
"host": "::1",
|
"host": "::1",
|
||||||
|
@ -67,5 +66,6 @@ class ControllerCase(unittest.TestCase):
|
||||||
async def test():
|
async def test():
|
||||||
await self.start("lda_sim", entry)
|
await self.start("lda_sim", entry)
|
||||||
remote = await self.get_client(entry["host"], entry["port"])
|
remote = await self.get_client(entry["host"], entry["port"])
|
||||||
|
await remote.ping()
|
||||||
|
|
||||||
self.loop.run_until_complete(test())
|
self.loop.run_until_complete(test())
|
||||||
|
|
Loading…
Reference in New Issue