summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler
diff options
context:
space:
mode:
authorJoshua Harlow <jxharlow@godaddy.com>2016-07-25 12:45:25 -0700
committerJoshua Harlow <jxharlow@godaddy.com>2016-08-11 16:49:21 -0700
commit80db6eb9d697c21bfab85ab9a0dd5aceee571883 (patch)
treecf47f7c4bf5cdf9383f9701e76f16b21d304f693 /tests/unittests/test_handler
parent8028c9234ec4260eda9431bffc6728ac3703e243 (diff)
downloadvyos-cloud-init-80db6eb9d697c21bfab85ab9a0dd5aceee571883.tar.gz
vyos-cloud-init-80db6eb9d697c21bfab85ab9a0dd5aceee571883.zip
Upgrade to a configobj package new enough to work
The older versions have various issues with unicode and those versions seem to be pulled into epel so we should denote that those versions are bad and shouldn't be used by updating to a newer version that does work.
Diffstat (limited to 'tests/unittests/test_handler')
-rw-r--r--tests/unittests/test_handler/test_handler_mcollective.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_handler/test_handler_mcollective.py b/tests/unittests/test_handler/test_handler_mcollective.py
index 8fa0147a..c3a5a634 100644
--- a/tests/unittests/test_handler/test_handler_mcollective.py
+++ b/tests/unittests/test_handler/test_handler_mcollective.py
@@ -138,6 +138,7 @@ class TestHandler(t_help.TestCase):
def test_mcollective_install(self, mock_util):
cc = self._get_cloud('ubuntu')
cc.distro = t_help.mock.MagicMock()
+ mock_util.load_file.return_value = b""
mycfg = {'mcollective': {'conf': {'loglevel': 'debug'}}}
cc_mcollective.handle('cc_mcollective', mycfg, cc, LOG, [])
self.assertTrue(cc.distro.install_packages.called)