Commit 4f4df56d authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Keep the DB but flush it at start up of testing

parent 3ff801eb
......@@ -141,7 +141,6 @@ class QHTestCase(unittest.TestCase):
def tearDownClass(self):
from signal import SIGTERM
os.kill(-self.server, SIGTERM)
os.remove('/tmp/qh_testdb')
### VARS ###
......
......@@ -2,4 +2,5 @@
d=`dirname $0`
export SYNNEFO_SETTINGS_DIR=$d/settings
snf-manage syncdb --all --noinput
snf-manage flush --noinput
snf-manage runserver "$@" 2> $d/server_stderr &
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment