Commit 55b02cf
authored
fix(pytest): use correct log level definition (SchemaStore#4612)
The [Pytest
documentation](https://docs.pytest.org/en/stable/reference/reference.html#confval-log_level)
explains that the `log_level` config variable
> Sets the minimum log message level that should be captured for logging
> capture. The integer value or the names of the levels can be used.
Furthermore, there are more named levels than the ones listed
previously:
https://github.com/python/cpython/blob/ef06508f8ef1d2943b2fb1e310ab115b65e489a8/Lib/logging/__init__.py#L98-L105
Some are deprecated/not recommended (hence marked as such), but there
was also the `NOTSET` option missing previously.
Signed-off-by: JP-Ellis <[email protected]>1 parent 755300e commit 55b02cf
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
425 | 439 | | |
426 | 440 | | |
427 | 441 | | |
0 commit comments