Adding support for venv test running.
This commit is contained in:
parent
6ee0adb776
commit
812e9132b2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
.idea/
|
||||
.venv/
|
||||
|
||||
*.pyc
|
||||
local_settings.py
|
||||
|
@ -6,3 +6,4 @@ librabbitmq>=1.0.0
|
||||
prettytable>=0.7.2
|
||||
argparse
|
||||
Pympler
|
||||
requests
|
||||
|
4
etc/test-requires.txt
Normal file
4
etc/test-requires.txt
Normal file
@ -0,0 +1,4 @@
|
||||
nose
|
||||
coverage
|
||||
mox
|
||||
nose-exclude
|
7
run_tests_venv.sh
Executable file
7
run_tests_venv.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
virtualenv .venv
|
||||
. .venv/bin/activate
|
||||
pip install -r etc/pip-requires.txt
|
||||
pip install -r etc/test-requires.txt
|
||||
nosetests tests --exclude-dir=stacktach --with-coverage --cover-package=stacktach,worker,verifier --cover-erase
|
||||
|
Loading…
Reference in New Issue
Block a user