File: add_standart_paths.diff

package info (click to toggle)
python-dlt 2.0-3
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 516 kB
  • sloc: python: 2,244; makefile: 45
file content (12 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Add system path for search
--- a/tests/static_check_tests.py
+++ b/tests/static_check_tests.py
@@ -20,7 +20,7 @@
 class TestCodingStyleCheck(unittest.TestCase):
     def setUp(self):
         search_bin = ['pycodestyle', 'pylint']
-        search_path = ['/opt/nativesysroot/usr/bin', '/usr/local/bin']
+        search_path = ['/opt/nativesysroot/usr/bin', '/usr/local/bin', '/usr/bin']

         tox_bin_path = os.getenv('PATH').split(':')[0]
         if tox_bin_path.startswith(os.path.join(os.getcwd(), '.tox')):