Lines Matching defs:test
20 from test import support
21 from test.test_asyncio import utils as test_utils
196 TOTAL_CNT = 25 # total number of clients that test will create
197 TIMEOUT = support.LONG_TIMEOUT # timeout for this test
580 message = b'test data'
1039 TOTAL_CNT = 25 # total number of clients that test will create
1040 TIMEOUT = support.LONG_TIMEOUT # timeout for this test
1436 async def test():
1450 self.loop.run_until_complete(test())
1465 async def test(ctx):
1478 self.loop.run_until_complete(test(ctx))
1640 def __init__(self, test, sock, prog, timeout):
1641 threading.Thread.__init__(self, None, None, 'test-client')
1648 self._test = test
1661 def __init__(self, test, sock, prog, timeout, max_clients):
1662 threading.Thread.__init__(self, None, None, 'test-server')
1677 self._test = test