diff --git a/bin/start_server.sh b/bin/start_server.sh index a4306cb302..88290a625c 100755 --- a/bin/start_server.sh +++ b/bin/start_server.sh @@ -3,7 +3,7 @@ tox -e fake-mode function run() { - .tox/fake-mode/bin/python $@ + .tox/py26/bin/python $@ } run bin/reddwarf-manage \ --config-file=etc/reddwarf/reddwarf.conf.test db_wipe \ diff --git a/tox.ini b/tox.ini index 22c439c765..48a0f42ddf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,19 +1,14 @@ +# If you get compilation errors with one or more deps in Linux, try this: +# $ sudo apt-get install python2.6-dev + # To run a specific environment in tox, use the "-e" cmd line flag. # For example, to run pep8, use: # tox -e pep8 [tox] -envlist = py26, py27 +envlist = py26 -[testenv:pep8] -# Tests pep8 compliance. -deps = pep8==1.1 -commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc . - - -[testenv:fake-mode] -# Fakes Nova, the guest, and other external dependencies to stand up a -# otherwise valid service api that can be used to test most code paths. +[testenv:py26] deps = eventlet factory_boy @@ -25,6 +20,7 @@ deps = netaddr paste PasteDeploy + pep8==1.3.3 python-novaclient routes sphinx @@ -33,4 +29,4 @@ deps = WebOb webtest commands = - pep8 {toxinidir} + #{envbindir}/pep8 {toxinidir}/reddwarf --exclude=.tox,.venv