summaryrefslogtreecommitdiff
path: root/python/test/Ice/adapterDeactivation/Client.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/adapterDeactivation/Client.py')
-rwxr-xr-xpython/test/Ice/adapterDeactivation/Client.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/python/test/Ice/adapterDeactivation/Client.py b/python/test/Ice/adapterDeactivation/Client.py
index 21deb0c2c9f..25e142b7337 100755
--- a/python/test/Ice/adapterDeactivation/Client.py
+++ b/python/test/Ice/adapterDeactivation/Client.py
@@ -8,16 +8,13 @@
#
# **********************************************************************
-import os, sys
+from TestHelper import TestHelper
+TestHelper.loadSlice("Test.ice")
+import AllTests
-import Ice
-Ice.loadSlice('Test.ice')
-import Test, AllTests
-class TestClient(Ice.Application):
- def run(self, args):
- AllTests.allTests(self.communicator())
- return 0
+class Client(TestHelper):
-app = TestClient()
-sys.exit(app.main(sys.argv))
+ def run(self, args):
+ with self.initialize(args=args) as communicator:
+ AllTests.allTests(self, communicator)