Revision 45ddc679 runtests-venvs.sh

b/runtests-venvs.sh
37 37

  
38 38
set -e
39 39

  
40
virtualenv --no-site-packages -ppython2.7 env
40
virtualenv --no-site-packages -ppython2.6 env
41 41
source env/bin/activate
42
PIP_DOWNLOAD_CACHE=/tmp/.pip_cache
42 43
pip install -r requirements.pip
43 44
python setup.py install
44 45
cd env
46
# avoid vncauthproxy errors
47
rm bin/vncauthproxy.py
45 48
echo "running django tests..." >&2
46
synnefo-manage test aai admin api db helpdesk invitations logic userdata --settings=settings_test
49
synnefo-manage test aai admin api db helpdesk invitations logic userdata --settings=synnefo.settings.test
47 50
cd ..
48 51
deactivate
49 52

  
50 53
virtualenv --no-site-packages -ppython2.7 env
51 54
source env/bin/activate
55
PIP_DOWNLOAD_CACHE=/tmp/.pip_cache
52 56
pip install -r requirements.pip
53 57
python setup.py install
54 58
cd env
59
# avoid vncauthproxy errors
60
rm bin/vncauthproxy.py
55 61
echo "running django tests..." >&2
56
synnefo-manage test aai admin api db helpdesk invitations logic userdata --settings=settings_test
62
synnefo-manage test aai admin api db helpdesk invitations logic userdata --settings=synnefo.settings.test
57 63
cd ..
58 64
deactivate
59 65

  

Also available in: Unified diff