Code consistency on code checking consistency.

Inception level 1.
parent 5fe47955
...@@ -32,12 +32,12 @@ import sys ...@@ -32,12 +32,12 @@ import sys
import unittest import unittest
class CheckCodeConsistency(unittest.TestCase): class CheckCodeConsistency(unittest.TestCase):
"""Lints all SlapOS Node code base.""" """Lints all SlapOS Node and SLAP library code base."""
def setUp(self): def setUp(self):
self._original_argv = sys.argv self._original_argv = sys.argv
sys.argv = [sys.argv[0], sys.argv = [sys.argv[0],
os.path.join( os.path.join(
pkg_resources.get_distribution("slapos.core").location, pkg_resources.get_distribution('slapos.core').location,
'slapos', 'slapos',
) )
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment