diff --git a/tests/base.py b/tests/base.py index c58c48976..3a66e5726 100644 --- a/tests/base.py +++ b/tests/base.py @@ -18,6 +18,7 @@ # under the License. import codecs +import logging import os import re import doctest @@ -63,6 +64,8 @@ class BaseTestCase(object): maxDiff = None # always dump text difference longMessage = True # keep normal error message when providing our + logging.basicConfig() + def __read_content(self): # Read XML content, assuming it is unicode encoded xml_filepath = os.path.join(self.fixtures_path, self.xml_filename)