Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/utest_sasview.py

    raaad4c95 r35ec279  
    44import re 
    55import sys 
    6  
    7 import logging 
    8 import logging.config 
    9 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  
    136try: 
    147    import xmlrunner 
    158except: 
    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" 
    1811    sys.exit(1) 
    1912 
     
    4942            continue 
    5043         
    51  
    5244        # Go through modules looking for unit tests 
    5345        module_dir = os.path.join(test_root, d, "test") 
Note: See TracChangeset for help on using the changeset viewer.