From aef994b73a69248edc4efad318a40c35c8a4f32d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 13 Nov 2016 23:12:56 +0300 Subject: [PATCH] Drop test DB if it persisted from the previous run --- tox.ini | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2