Bruno Oliveira
|
2e40a8b3ca
|
Fix test_caplog_captures_for_all_stages by setting log level
|
2018-01-20 12:04:28 -02:00 |
Bruno Oliveira
|
18e053546c
|
Use six.StringIO and __name__ in test_live_logging_suspends_capture
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
9dbcac9af3
|
Suspend stdout/stderr capturing when emitting live logging messages
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
4a436572a8
|
Simplify test assertions a bit
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
8f6a5928f7
|
Add newline before log messages and enable -v output when log_cli is enabled
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
5d89a93977
|
Small improvements to tests suggested during review
|
2018-01-20 12:02:54 -02:00 |
Bruno Oliveira
|
8d735f3e1d
|
Live log option now writes to the terminal reporter
Ref: #3013
|
2018-01-20 12:01:42 -02:00 |
Bruno Oliveira
|
aca1b06747
|
Undo log level set by caplog.set_level at the end of the test
Otherwise this leaks the log level information to other tests
Ref: #3013
|
2018-01-20 12:01:42 -02:00 |
Bruno Oliveira
|
8dcd2718aa
|
No longer change the level of any logger unless requested explicitly
Ref: #3013
|
2018-01-20 12:01:42 -02:00 |
Bruno Oliveira
|
5ad1313b8a
|
log_cli must now be enabled explicitly
Ref: #3013
|
2018-01-20 12:00:46 -02:00 |
Anders Hovmöller
|
7ea5a22657
|
Access captures logs in teardown
|
2018-01-19 12:42:35 +01:00 |
Bruno Oliveira
|
6b86b0dbfe
|
Fix additional linting issues
|
2017-10-24 21:01:00 -02:00 |
Thomas Hisch
|
0e83511d6d
|
Rename name of registered logging plugin
|
2017-10-12 02:19:24 +02:00 |
Thomas Hisch
|
815dd19fb4
|
Remove unicode literal compat code
|
2017-10-12 02:19:24 +02:00 |
Thomas Hisch
|
ad21d5cac4
|
Remove pytest-capturelog backward compat code
|
2017-09-26 23:24:27 +02:00 |
Thomas Hisch
|
ca46f4fe2a
|
Remove conftest
|
2017-09-22 22:27:49 +02:00 |
Thomas Hisch
|
5130f5707f
|
Fix name clash
|
2017-09-22 22:27:49 +02:00 |
Thomas Hisch
|
6607478b23
|
Add unittests for LoggingPlugin (excluding perf tests)
|
2017-09-22 22:27:49 +02:00 |