test: setup logging in topology suites
Make it possible to use logging from within tests in the topology suites. The tests are executed using `pytest`, which uses a `pytest.ini` file for logging configuration. Also cleanup the `pytest.ini` files a bit.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# Pytest configuration file. If we don't have one in this directory,
|
||||
# pytest will look for one in our ancestor directories, and may find
|
||||
# something irrelevant. So we should have one here, even if empty.
|
||||
[pytest]
|
||||
# Use shared fixtures from the parent dir
|
||||
addopts = --confcutdir ..
|
||||
asyncio_mode = auto
|
||||
|
||||
log_cli = true
|
||||
log_format = %(asctime)s %(levelname)s %(message)s
|
||||
log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
# pytest will look for one in our ancestor directories, and may find
|
||||
# something irrelevant. So we should have one here, even if empty.
|
||||
[pytest]
|
||||
# Use shared fixtures from the parent dir
|
||||
addopts = --confcutdir ..
|
||||
asyncio_mode = auto
|
||||
|
||||
log_cli = true
|
||||
log_format = %(asctime)s %(levelname)s %(message)s
|
||||
log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
Reference in New Issue
Block a user