mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 21:12:43 +01:00
Update tests to follow PEP 8 coding style
This commit is contained in:
parent
8b7af7fe23
commit
46e5f9d4c8
1 changed files with 3 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue