summaryrefslogtreecommitdiffstats
path: root/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.py')
-rw-r--r--run_tests.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 5b8617f63..fbca3cbe3 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -17,7 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
+import gettext
import os
import unittest
import sys
@@ -26,6 +26,10 @@ from nose import config
from nose import result
from nose import core
+gettext.install('nova', unicode=1)
+
+from nova.db import migration
+
class NovaTestResult(result.TextTestResult):
def __init__(self, *args, **kw):
@@ -61,6 +65,9 @@ if __name__ == '__main__':
c = config.Config(stream=sys.stdout,
env=os.environ,
verbosity=3)
+
+ migration.db_sync()
+
runner = NovaTestRunner(stream=c.stream,
verbosity=c.verbosity,