Use getLogger method instead of a global log object Also use caplog fixture to capture log messages in unit tests. This Fixes #1244
9 lines
213 B
Python
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
|