From 46e5f9d4c879f05a37afcd0f1ff81ed993d74f0a Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Fri, 11 Sep 2015 18:39:12 +0100 Subject: [PATCH] Update tests to follow PEP 8 coding style --- test/test_hook.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_hook.py b/test/test_hook.py index 0a9ff8b1b..f6b8b4941 100644 --- a/test/test_hook.py +++ b/test/test_hook.py @@ -115,12 +115,12 @@ class HookTest(_common.TestCase, TestHelper): for index, path in enumerate(temporary_paths): self._add_hook('test_event_{0}'.format(index), 'echo > "%PATH%"'.format(path), - substitute_args = { 'path': '%PATH%' }) + substitute_args={'path': '%PATH%'}) self.load_plugins('hook') - for index, path in enumerate(temporary_paths): - plugins.send('test_event_{0}'.format(index), path = path) + for index, path in enumerate(temporary_paths): + plugins.send('test_event_{0}'.format(index), path=path) for path in temporary_paths: self.assertTrue(os.path.isfile(path))