diff --git a/tests/test_hooks.py b/tests/test_hooks.py
index <HASH>..<HASH> 100755
--- a/tests/test_hooks.py
+++ b/tests/test_hooks.py
@@ -155,7 +155,9 @@ class TestExternalHooks(object):
         assert 'tests' not in os.getcwd()
 
     def test_run_hook(self):
-        """Execute hook from specified template in specified output directory"""
+        """Execute hook from specified template in specified output
+        directory.
+        """
         tests_dir = os.path.join(self.repo_path, 'input{{hooks}}')
         with utils.work_in(self.repo_path):
             hooks.run_hook('pre_gen_project', tests_dir, {})
Fix pep8 in test_run_hook