diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-13 16:08:08 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-14 15:12:49 -0500 |
commit | f91163abed4aa739f7f8b772eabb403f01b94a88 (patch) | |
tree | 356a3b99b5142f8d1c31749290606d4c290443fa /testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py | |
parent | ad66b2e22eb64299d2f4dcd29e15e7083887813f (diff) | |
download | bcfg2-f91163abed4aa739f7f8b772eabb403f01b94a88.tar.gz bcfg2-f91163abed4aa739f7f8b772eabb403f01b94a88.tar.bz2 bcfg2-f91163abed4aa739f7f8b772eabb403f01b94a88.zip |
extended usage of Executor class, added client-side timeout options
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py | 2 |
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) |