TT#26831 tests/test_check.py: ignore module level imports at top of file

Recent versions of pep8 check for this, while we are modifying
system path to load functions from check.py.  Since we need at
least the os and sys modules for modifying system path and being
able to run `from check import ...` let's ignore this problem for
now.

Change-Id: Ia9f3ea2c67c3a720896f1c92031544ac7e688025
changes/01/17501/2
Michael Prokop 9 years ago
parent ba103ac2f8
commit f0d6b34e33

@ -25,9 +25,9 @@ import unittest
import re import re
lib_path = os.path.abspath('bin') lib_path = os.path.abspath('bin')
sys.path.append(lib_path) sys.path.append(lib_path)
from check import check_sip, check_sip_out from check import check_sip, check_sip_out # noqa
from check import XAvp, Test, check_flow, check_flow_vars from check import XAvp, Test, check_flow, check_flow_vars # noqa
from check import load_json, load_yaml from check import load_json, load_yaml # noqa
not_ok = re.compile('^not ok.*', re.MULTILINE) not_ok = re.compile('^not ok.*', re.MULTILINE)

Loading…
Cancel
Save