summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_handler_mcollective.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-07-14 11:28:46 -0400
committerScott Moser <smoser@ubuntu.com>2016-07-14 11:28:46 -0400
commit74dcabe8853e063b63be578dff7926f62bd26df8 (patch)
tree8aa677d81dd28838dbc990911535e6fc225f04c6 /tests/unittests/test_handler/test_handler_mcollective.py
parent200e811268b7c17e814cfb6b7ef3f603c0590abc (diff)
downloadvyos-cloud-init-74dcabe8853e063b63be578dff7926f62bd26df8.tar.gz
vyos-cloud-init-74dcabe8853e063b63be578dff7926f62bd26df8.zip
fix tox flake8
Diffstat (limited to 'tests/unittests/test_handler/test_handler_mcollective.py')
-rw-r--r--tests/unittests/test_handler/test_handler_mcollective.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/unittests/test_handler/test_handler_mcollective.py b/tests/unittests/test_handler/test_handler_mcollective.py
index 0e3fcc8c..f9448d80 100644
--- a/tests/unittests/test_handler/test_handler_mcollective.py
+++ b/tests/unittests/test_handler/test_handler_mcollective.py
@@ -43,18 +43,18 @@ class TestConfig(helpers.FilesystemMockingTestCase):
contents = util.load_file("/etc/mcollective/server.cfg", decode=False)
contents = configobj.ConfigObj(BytesIO(contents))
expected = {
- 'loglevel': 'debug',
- 'connector': 'rabbitmq',
- 'logfile': '/var/log/mcollective.log',
- 'ttl': '4294957',
- 'collectives': 'mcollective',
- 'main_collective': 'mcollective',
- 'securityprovider': 'psk',
- 'daemonize': '1',
- 'factsource': 'yaml',
- 'direct_addressing': '1',
- 'plugin.psk': 'unset',
- 'libdir': '/usr/share/mcollective/plugins',
- 'identity': '1',
- }
+ 'loglevel': 'debug',
+ 'connector': 'rabbitmq',
+ 'logfile': '/var/log/mcollective.log',
+ 'ttl': '4294957',
+ 'collectives': 'mcollective',
+ 'main_collective': 'mcollective',
+ 'securityprovider': 'psk',
+ 'daemonize': '1',
+ 'factsource': 'yaml',
+ 'direct_addressing': '1',
+ 'plugin.psk': 'unset',
+ 'libdir': '/usr/share/mcollective/plugins',
+ 'identity': '1',
+ }
self.assertEqual(expected, dict(contents))