summaryrefslogtreecommitdiff
path: root/python/test/Ice/asyncio/Client.py
blob: 2e151b3a06d528ba894d34c8ebbd9b1003b35b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

import asyncio
from TestHelper import TestHelper
TestHelper.loadSlice("Test.ice")
import AllTests


class Client(TestHelper):

    def run(self, args):

        async def runAsync():
            with self.initialize(properties=self.createTestProperties(args)) as communicator:
                await AllTests.allTestsAsync(self, communicator)

        asyncio.run(runAsync(), debug=True)