summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-13 16:08:08 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-02-14 15:12:49 -0500
commitf91163abed4aa739f7f8b772eabb403f01b94a88 (patch)
tree356a3b99b5142f8d1c31749290606d4c290443fa /testsuite
parentad66b2e22eb64299d2f4dcd29e15e7083887813f (diff)
downloadbcfg2-f91163abed4aa739f7f8b772eabb403f01b94a88.tar.gz
bcfg2-f91163abed4aa739f7f8b772eabb403f01b94a88.tar.bz2
bcfg2-f91163abed4aa739f7f8b772eabb403f01b94a88.zip
extended usage of Executor class, added client-side timeout options
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py
index 4048be7ca..bf7f1eecc 100644
--- a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py
+++ b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py
@@ -37,6 +37,8 @@ def get_posix_object(logger=None, setup=None, config=None):
logger.debug = Mock(side_effect=print_msg)
if not setup:
setup = MagicMock()
+ if 'command_timeout' not in setup:
+ setup['command_timeout'] = None
return Bcfg2.Client.Tools.POSIX.POSIX(logger, setup, config)