Changes in test/run_one.py [76f132a:aaad4c95] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/run_one.py
r76f132a raaad4c95 7 7 import imp 8 8 from os.path import abspath, dirname, split as splitpath, join as joinpath 9 10 import logging 11 logger = logging.getLogger(__name__) 12 if not logger.root.handlers: 13 import logging.config 14 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini') 15 logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False) 16 17 if len(sys.argv) < 2: 18 logger.error("Use %s <filename to test>",sys.argv[0]) 19 sys.exit(-1) 9 20 10 21 run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py')
Note: See TracChangeset
for help on using the changeset viewer.