Changes in / [eba7bad:8f8100a] in sasview


Ignore:
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rc155a16 raaad4c95  
    5858/test/sasdataloader/test/isis_1_1_write_test.xml 
    5959/test/sasdataloader/test/write_test.xml 
     60test*log 
    6061 
    6162# autogenerated scripts 
  • test/logging.ini

    rebb0a55 raaad4c95  
    2929level=INFO 
    3030formatter=detailed 
    31 args=(os.path.join(os.path.expanduser("~"),'.sasview/tests.log'),"w") 
     31args=('tests.log','w') 
    3232 
    3333############################################################################### 
  • test/run_one.py

    r64ca561 raaad4c95  
    1515    logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False) 
    1616 
     17if len(sys.argv) < 2: 
     18    logger.error("Use %s <filename to test>",sys.argv[0]) 
     19    sys.exit(-1) 
    1720 
    1821run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py') 
  • test/sasdataloader/test/testLoad.py

    r463e7ffc raaad4c95  
    1919    HAS_IMAGE = True 
    2020except: 
    21     print "IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE" 
     21    logger.info("IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE") 
    2222     
    2323import os.path 
  • test/utest_sasview.py

    rebb0a55 raaad4c95  
    88import logging.config 
    99LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini') 
    10 print LOGGER_CONFIG_FILE 
    1110logging.config.fileConfig(LOGGER_CONFIG_FILE) 
    1211logger = logging.getLogger(__name__) 
     
    5049            continue 
    5150         
     51 
    5252        # Go through modules looking for unit tests 
    5353        module_dir = os.path.join(test_root, d, "test") 
Note: See TracChangeset for help on using the changeset viewer.