Changes in test/utest_sasview.py [aaad4c95:35ec279] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/utest_sasview.py
raaad4c95 r35ec279 4 4 import re 5 5 import sys 6 7 import logging8 import logging.config9 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini')10 logging.config.fileConfig(LOGGER_CONFIG_FILE)11 logger = logging.getLogger(__name__)12 13 6 try: 14 7 import xmlrunner 15 8 except: 16 logger.error("xmlrunner needs to be installed to run these tests")17 logger.error("Try easy_install unittest-xml-reporting")9 print "xmlrunner needs to be installed to run these tests" 10 print "Try easy_install unittest-xml-reporting" 18 11 sys.exit(1) 19 12 … … 49 42 continue 50 43 51 52 44 # Go through modules looking for unit tests 53 45 module_dir = os.path.join(test_root, d, "test")
Note: See TracChangeset
for help on using the changeset viewer.