- Timestamp:
- Apr 5, 2017 10:55:17 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 8f8100a
- Parents:
- 3608cd1
- Location:
- test
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
test/logging.ini
rebb0a55 raaad4c95 29 29 level=INFO 30 30 formatter=detailed 31 args=( os.path.join(os.path.expanduser("~"),'.sasview/tests.log'),"w")31 args=('tests.log','w') 32 32 33 33 ############################################################################### -
test/run_one.py
r64ca561 raaad4c95 15 15 logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False) 16 16 17 if len(sys.argv) < 2: 18 logger.error("Use %s <filename to test>",sys.argv[0]) 19 sys.exit(-1) 17 20 18 21 run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py') -
test/sasdataloader/test/testLoad.py
r463e7ffc raaad4c95 19 19 HAS_IMAGE = True 20 20 except: 21 print "IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE"21 logger.info("IMAGE TESTS WILL NOT BE PERFORMED: MISSING PIL MODULE") 22 22 23 23 import os.path -
test/utest_sasview.py
rebb0a55 raaad4c95 8 8 import logging.config 9 9 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini') 10 print LOGGER_CONFIG_FILE11 10 logging.config.fileConfig(LOGGER_CONFIG_FILE) 12 11 logger = logging.getLogger(__name__) … … 50 49 continue 51 50 51 52 52 # Go through modules looking for unit tests 53 53 module_dir = os.path.join(test_root, d, "test")
Note: See TracChangeset
for help on using the changeset viewer.