summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/deployer/test.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-11-25 13:13:22 +0100
committerBenoit Foucher <benoit@zeroc.com>2016-11-25 13:13:22 +0100
commitdcdc32af1fced49d80a8ccd93230e15d91ab45d8 (patch)
treeeb69e2555fbd54496fce8a33f4dd610e1473ff51 /cpp/test/IceGrid/deployer/test.py
parentC# IceSSL/configuration log expired certificate exceptions. (diff)
downloadice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.tar.bz2
ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.tar.xz
ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.zip
Refactored test scripts
Diffstat (limited to 'cpp/test/IceGrid/deployer/test.py')
-rw-r--r--cpp/test/IceGrid/deployer/test.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/deployer/test.py b/cpp/test/IceGrid/deployer/test.py
new file mode 100644
index 00000000000..d64fbf4b9a4
--- /dev/null
+++ b/cpp/test/IceGrid/deployer/test.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# **********************************************************************
+#
+# Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
+#
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
+#
+# **********************************************************************
+
+clientProps=lambda process, current: { "TestDir" : current.getBuildDir("server") }
+
+TestSuite(__file__, [
+ IceGridTestCase("without targets",
+ icegridnode=IceGridNode(envs={ "MY_FOO" : 12 }),
+ client=IceGridClient(props=clientProps)),
+ IceGridTestCase("with targets",
+ icegridnode=IceGridNode(envs={ "MY_FOO" : 12 }),
+ client=IceGridClient(props=clientProps),
+ targets=["moreservers", "moreservices", "moreproperties"])
+], libDirs=["testservice"], multihost=False)