Changes in test/run_one.py [aaad4c95:76f132a] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/run_one.py
raaad4c95 r76f132a 7 7 import imp 8 8 from os.path import abspath, dirname, split as splitpath, join as joinpath 9 10 import logging11 logger = logging.getLogger(__name__)12 if not logger.root.handlers:13 import logging.config14 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)20 9 21 10 run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py')
Note: See TracChangeset
for help on using the changeset viewer.