
To reduce the testrepository.subunit output, eliminate debugging logs from gear.Server and gear.Client. This is handled via an ENV defined in the tox.ini called `OS_LOG_DEFAULTS`. Any module can be specified in the typicall python logging format (e.g. "gear.Server=INFO"). Each entry should be comma separated. For each valid entry, a fake logger is created with the log level set to that level. An invalid format will be skipped (expected: `<module name str>=<level_str>`). An invalid logging level will default to logging.DEBUG. Specifying OS_LOG_DEFAULT as an ENV var prior to running tox will override the default values defined in tox.ini. Change-Id: I893418435c538bfcedb803d12b57832c8111f06f
5 lines
314 B
Plaintext
5 lines
314 B
Plaintext
[DEFAULT]
|
|
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} OS_LOG_DEFAULTS=${OS_LOG_DEFAULTS:-""} ${PYTHON:-python} -m subunit.run discover -t ./ tests $LISTOPT $IDOPTION
|
|
test_id_option=--load-list $IDFILE
|
|
test_list_option=--list
|