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

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


class Client(TestHelper):

    def run(self, args):
        properties = self.createTestProperties(args)
        properties.setProperty("Ice.Default.Locator", "locator:{0}".format(self.getTestEndpoint(properties=properties)))
        with self.initialize(properties=properties) as communicator:
            AllTests.allTests(self, communicator)