More pep8 checks and fixes

This commit is contained in:
Hugo Trippaers 2014-11-17 15:33:40 +01:00 committed by wilderrodrigues
parent 5c4d221c34
commit 67ee33ff8a
4 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@ class TestCsApp(unittest.TestCase):
def test_init(self): def test_init(self):
csconfig = CsConfig() csconfig = CsConfig()
csconfig.set_cl() csconfig.set_cl()
csip = CsIP("eth0", csconfig); csip = CsIP("eth0", csconfig)
csapp = CsApp(csip) csapp = CsApp(csip)
self.assertTrue(csapp is not None) self.assertTrue(csapp is not None)

View File

@ -5,4 +5,7 @@
export PYTHONPATH="../../patches/debian/config/opt/cloud/bin/" export PYTHONPATH="../../patches/debian/config/opt/cloud/bin/"
export PYTHONDONTWRITEBYTECODE=False export PYTHONDONTWRITEBYTECODE=False
pep8 --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py `find ../../patches -name \*.py`
pep8 --max-line-length=179 *py
nosetests . nosetests .