add logging.basicConfig() to tests

This commit is contained in:
termie 2011-01-30 21:38:58 -08:00
parent 8fbfae5065
commit f3652fd481

View File

@ -26,6 +26,8 @@ from nose import config
from nose import result
from nose import core
from nova import log as logging
class NovaTestResult(result.TextTestResult):
def __init__(self, *args, **kw):
@ -58,6 +60,7 @@ class NovaTestRunner(core.TextTestRunner):
if __name__ == '__main__':
logging.basicConfig()
c = config.Config(stream=sys.stdout,
env=os.environ,
verbosity=3,