Mercurial > wikked
diff tests/mock.py @ 339:64acfb58e023
Cleanup import and code.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 28 Aug 2015 23:12:22 -0700 |
parents | 03e3e793fa22 |
children | c78eaebced8b |
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):