use tests.sqlite so it doesn't conflict with running db

This commit is contained in:
Vishvananda Ishaya
2011-02-21 11:42:46 -08:00
parent 906925e0a7
commit b87ea7079d
2 changed files with 4 additions and 4 deletions

View File

@@ -58,8 +58,8 @@ class NovaTestRunner(core.TextTestRunner):
if __name__ == '__main__':
if os.path.exists("nova.sqlite"):
os.unlink("nova.sqlite")
if os.path.exists("tests.sqlite"):
os.unlink("tests.sqlite")
c = config.Config(stream=sys.stdout,
env=os.environ,
verbosity=3,