~0x44/nova/bug838466

« back to all changes in this revision

Viewing changes to run_tests.py

  • Committer: termie
  • Date: 2011-01-31 05:38:58 UTC
  • mto: This revision was merged to the branch mainline in revision 648.
  • Revision ID: github@anarkystic.com-20110131053858-37d3xgxqwd3jcz4r
add logging.basicConfig() to tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from nose import result
27
27
from nose import core
28
28
 
 
29
from nova import log as logging
 
30
 
29
31
 
30
32
class NovaTestResult(result.TextTestResult):
31
33
    def __init__(self, *args, **kw):
58
60
 
59
61
 
60
62
if __name__ == '__main__':
 
63
    logging.basicConfig()
61
64
    c = config.Config(stream=sys.stdout,
62
65
                      env=os.environ,
63
66
                      verbosity=3,