add test files to pre-commit hook and fix pep8 errors

This commit is contained in:
Hans-Christoph Steiner 2015-07-21 23:19:56 -07:00
parent 84c9777e9e
commit 9e5dd19fc8
4 changed files with 20 additions and 19 deletions

View file

@ -9,16 +9,16 @@ import os
import sys
import unittest
localmodule = os.path.realpath(os.path.join(
os.path.dirname(inspect.getfile(inspect.currentframe())),
'..'))
localmodule = os.path.realpath(
os.path.join(os.path.dirname(inspect.getfile(inspect.currentframe())), '..'))
print('localmodule: ' + localmodule)
if localmodule not in sys.path:
sys.path.insert(0,localmodule)
sys.path.insert(0, localmodule)
import fdroidserver.common
import fdroidserver.install
class InstallTest(unittest.TestCase):
'''fdroidserver/install.py'''