]> git.phdru.name Git - sqlconvert.git/commitdiff
Drop test DB if it persisted from the previous run
authorOleg Broytman <phd@phdru.name>
Sun, 13 Nov 2016 20:12:56 +0000 (23:12 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 13 Nov 2016 20:12:56 +0000 (23:12 +0300)
tox.ini

diff --git a/tox.ini b/tox.ini
index 2408d990a0eaf0f0b872bc4d4c8e79f540a3eb21..0dfe51a56f82c3be608e66955c810f8b71b1f117 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -39,6 +39,7 @@ commands = {[general]commands}
 # PostgreSQL test environments
 [postgresql]
 commands =
+    -dropdb test
     createdb test
     python -m pytest --cov=sqlconvert -D postgres:///test
     dropdb test