summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorIlya Pekelny <ipekelny@mirantis.com>2014-05-13 14:44:54 +0300
committerIlya Pekelny <ipekelny@mirantis.com>2014-07-16 10:31:21 +0300
commitc34c32e09ed1f170dfe62c7daedf0cd60f57a833 (patch)
tree9f5102a5edc5a92c208808c86f616ebed19176d5 /tox.ini
parent44bd28704c25529520ee054e5c222b85ba587302 (diff)
downloadoslo-db-c34c32e09ed1f170dfe62c7daedf0cd60f57a833.tar.gz
Opportunistic migration tests
Migrations should be tested with real database backends. For this goal intended number of base test cases which used in current implementation. Previously there were two ways to run migration tests: using opportunistic test cases (default way we've been using on CI) and by using database connection strings, specified in test_migrations.conf, for every particular database test case. For the sake of simplicity and consistency we are moving to using of opportunistic db test cases here. With this change we are free from locking, so we don't need `lockfile` anymore. Closes-Bug: #1327397 Closes-Bug: #1328997 Change-Id: I92b1dcd830c4755f429a0f6529911e607c2c7de7
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 0 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 099d27b..0445c83 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,6 @@ envlist = py26,py27,pep8
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
- OSLO_LOCK_PATH=/tmp/
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'