diff options
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/__init__.py b/nova/tests/__init__.py index a8d0ef28c..e438e1d64 100644 --- a/nova/tests/__init__.py +++ b/nova/tests/__init__.py @@ -61,6 +61,8 @@ def reset_db(): conn = engine.connect() if _DB: conn.connection.executescript(_DB) + else: + setup() else: shutil.copyfile(os.path.join(FLAGS.state_path, FLAGS.sqlite_clean_db), os.path.join(FLAGS.state_path, FLAGS.sqlite_db)) |
