kiwi-el8/test/unit/test_helper.py
Marcus Schäfer bdb7123fa1
Refactor use of logging facility
Use getLogger method instead of a global log object
Also use caplog fixture to capture log messages in
unit tests. This Fixes #1244
2019-10-23 17:54:27 +02:00

9 lines
213 B
Python

import sys
# default commandline used for any test, overwrite when needed
sys.argv = [
sys.argv[0], 'system', 'prepare',
'--description', 'description', '--root', 'directory'
]
argv_kiwi_tests = sys.argv