Skip to content

Commit 67ee33f

Browse files
spark404wilderrodrigues
authored andcommitted
More pep8 checks and fixes
1 parent 5c4d221 commit 67ee33f

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

systemvm/test/python/TestCsApp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def setUp(self):
1313
def test_init(self):
1414
csconfig = CsConfig()
1515
csconfig.set_cl()
16-
csip = CsIP("eth0", csconfig);
16+
csip = CsIP("eth0", csconfig)
1717
csapp = CsApp(csip)
1818
self.assertTrue(csapp is not None)
1919

systemvm/test/python/TestCsDhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
import mock
2+
import mock
33
from cs.CsDhcp import CsDhcp
44
from cs import CsHelper
55
import merge

systemvm/test/python/TestCsRoute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def setUp(self):
99
merge.DataBag.DPATH = "."
1010

1111
def test_init(self):
12-
csroute = CsRoute(["one","two","three","four"])
12+
csroute = CsRoute(["one", "two", "three", "four"])
1313
self.assertTrue(csroute is not None)
1414

1515
if __name__ == '__main__':

systemvm/test/python/runtests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
export PYTHONPATH="../../patches/debian/config/opt/cloud/bin/"
66
export PYTHONDONTWRITEBYTECODE=False
77

8+
pep8 --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py `find ../../patches -name \*.py`
9+
pep8 --max-line-length=179 *py
10+
811
nosetests .

0 commit comments

Comments
 (0)