diff --git a/tox.ini b/tox.ini --- a/tox.ini +++ b/tox.ini @@ -10,13 +10,13 @@ envlist = py25-sqlite, py27-postgresql -#### PYTHON 2.5 #### +#### PYTHON 2.5 #### [testenv:py25-sqlite] basepython = python2.5 commands = nosetests [] -setenv = +setenv = TEST_DB=sqlite:////tmp/rhodecode_test.sqlite [testenv:py25-mysql] @@ -28,7 +28,7 @@ commands = nosetests [] deps = mysql-python -setenv = +setenv = TEST_DB=mysql://root:qwe@localhost/rhodecode_test [testenv:py25-postgresql] @@ -39,8 +39,8 @@ commands = psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' nosetests [] deps = - psycopg2 -setenv = + psycopg2 +setenv = TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test @@ -50,7 +50,7 @@ basepython = python2.6 commands = nosetests [] -setenv = +setenv = TEST_DB=sqlite:////tmp/rhodecode_test.sqlite [testenv:py26-mysql] @@ -62,7 +62,7 @@ commands = nosetests [] deps = mysql-python -setenv = +setenv = TEST_DB=mysql://root:qwe@localhost/rhodecode_test [testenv:py26-postgresql] @@ -73,8 +73,8 @@ commands = psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' nosetests [] deps = - psycopg2 -setenv = + psycopg2 +setenv = TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test @@ -84,7 +84,7 @@ basepython = python2.7 commands = nosetests [] -setenv = +setenv = TEST_DB=sqlite:////tmp/rhodecode_test.sqlite [testenv:py27-mysql] @@ -96,7 +96,7 @@ commands = nosetests [] deps = mysql-python -setenv = +setenv = TEST_DB=mysql://root:qwe@localhost/rhodecode_test [testenv:py27-postgresql] @@ -107,6 +107,6 @@ commands = psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' nosetests [] deps = - psycopg2 -setenv = - TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test \ No newline at end of file + psycopg2 +setenv = + TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test