Adding support for venv test running.

This commit is contained in:
Andrew Melton 2013-08-07 14:56:29 +00:00
parent 6ee0adb776
commit 812e9132b2
4 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
.idea/ .idea/
.venv/
*.pyc *.pyc
local_settings.py local_settings.py

View File

@ -6,3 +6,4 @@ librabbitmq>=1.0.0
prettytable>=0.7.2 prettytable>=0.7.2
argparse argparse
Pympler Pympler
requests

4
etc/test-requires.txt Normal file
View File

@ -0,0 +1,4 @@
nose
coverage
mox
nose-exclude

7
run_tests_venv.sh Executable file
View 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