From: Oleg Broytman Date: Sun, 13 Nov 2016 20:12:56 +0000 (+0300) Subject: Drop test DB if it persisted from the previous run X-Git-Tag: 0.0.8~8 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=aef994b73a69248edc4efad318a40c35c8a4f32d;p=sqlconvert.git Drop test DB if it persisted from the previous run --- diff --git a/tox.ini b/tox.ini index 2408d99..0dfe51a 100644 --- 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