move the deletion of the db into fixtures

This commit is contained in:
Vishvananda Ishaya
2011-02-23 12:00:02 -08:00
parent 33a2552f5c
commit 3fd6a704cc

View File

@@ -265,10 +265,6 @@ class NovaTestRunner(core.TextTestRunner):
if __name__ == '__main__':
logging.setup()
testdb = os.path.join(FLAGS.state_path,
FLAGS.sqlite_db)
if os.path.exists(testdb):
os.unlink(testdb)
testdir = os.path.abspath(os.path.join("nova","tests"))
c = config.Config(stream=sys.stdout,
env=os.environ,