summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-10-30 08:35:50 -0500
committerSol Jerome <sol.jerome@gmail.com>2014-10-30 08:35:50 -0500
commitf469b10a44ade1285c9f29f189d3b774f88bea76 (patch)
treead0dacc5fb3c9204fe1d6c9dbab0824625aefe25
parent835c459b9849b888fdecd045f5d64b37742eb2b3 (diff)
downloadbcfg2-f469b10a44ade1285c9f29f189d3b774f88bea76.tar.gz
bcfg2-f469b10a44ade1285c9f29f189d3b774f88bea76.tar.bz2
bcfg2-f469b10a44ade1285c9f29f189d3b774f88bea76.zip
testsuite: Fix tools __init__.py unit test
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r--testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py b/testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py
index 390b92608..e0dacc1ce 100644
--- a/testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py
+++ b/testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py
@@ -36,6 +36,8 @@ class TestTool(Bcfg2TestCase):
setup = MagicMock()
if 'command_timeout' not in setup:
setup['command_timeout'] = None
+ if 'decision' not in setup:
+ setup['decision'] = None
execs = self.test_obj.__execs__
self.test_obj.__execs__ = []
rv = self.test_obj(logger, setup, config)