changeset 339:64acfb58e023

Cleanup import and code.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 28 Aug 2015 23:12:22 -0700
parents f7a741bc5770
children ef1206634939
files tests/mock.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/mock.py	Fri Aug 28 23:12:11 2015 -0700
+++ b/tests/mock.py	Fri Aug 28 23:12:22 2015 -0700
@@ -1,6 +1,5 @@
 import os
 import os.path
-import types
 import codecs
 import logging
 import io
@@ -57,7 +56,8 @@
 
     def _loadConfig(self):
         default_config_path = os.path.join(
-            os.path.dirname(__file__), '..', 'wikked', 'resources', 'defaults.cfg')
+            os.path.dirname(__file__), '..',
+            'wikked', 'resources', 'defaults.cfg')
 
         config = SafeConfigParser()
         config.readfp(open(default_config_path))
@@ -159,7 +159,6 @@
                     cur[b] = v
         return nested
 
-
     @staticmethod
     def save_structure(path, structure):
         if not os.path.isdir(path):