diff options
author | Hans Lindgren <hanlind@kth.se> | 2013-02-16 20:49:57 +0100 |
---|---|---|
committer | Hans Lindgren <hanlind@kth.se> | 2013-02-16 20:50:14 +0100 |
commit | 404eb54c572b53ad1f6495ed1982a3177b8e75ab (patch) | |
tree | d176c122f8ddf0dbf924690d89b19e0aafd24c05 /run_tests.sh | |
parent | dc5a994e333c743f8ae8970ce0a2d8ca8c48d9f3 (diff) | |
download | nova-404eb54c572b53ad1f6495ed1982a3177b8e75ab.tar.gz nova-404eb54c572b53ad1f6495ed1982a3177b8e75ab.tar.xz nova-404eb54c572b53ad1f6495ed1982a3177b8e75ab.zip |
Make pep8 tests run inside virtualenv
Running pep8 results in the following error:
Traceback (most recent call last):
File "tools/hacking.py", line 34, in <module>
import pep8
ImportError: No module named pep8
Change-Id: I31a8bfbffa9ddee306ab414fab367c74d34fdd6b
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh index 5a76b514f..9872858b4 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -149,7 +149,7 @@ function copy_subunit_log { function run_pep8 { echo "Running PEP8 and HACKING compliance check..." - bash tools/run_pep8.sh + bash -c "${wrapper} tools/run_pep8.sh" } |