summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-08-25 09:04:04 -0400
committerBrian Lamar <brian.lamar@rackspace.com>2011-08-25 09:04:04 -0400
commitf0fcc4ba61b4658b1e28bd69cfcf395cc408496a (patch)
treed394819c74ba8bf10ec99ceac2766a60201a4f58
parent6c4329f846685ee54c5265e5cc56e58e6fbd55e9 (diff)
Another attempt at fixing hanging test.
-rw-r--r--nova/tests/test_xenapi.py2
-rw-r--r--run_tests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py
index 2f0559366..061e9ffea 100644
--- a/nova/tests/test_xenapi.py
+++ b/nova/tests/test_xenapi.py
@@ -24,6 +24,8 @@ import re
import stubout
import ast
+eventlet.monkey_patch()
+
from nova import db
from nova import context
from nova import flags
diff --git a/run_tests.py b/run_tests.py
index b9a74769e..fd836967e 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -55,7 +55,6 @@ To run a single test module:
"""
-import eventlet
import gettext
import heapq
import os
@@ -63,7 +62,6 @@ import unittest
import sys
import time
-eventlet.monkey_patch()
gettext.install('nova', unicode=1)
from nose import config