mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 07:42:32 +00:00
no log: small fix to test
This commit is contained in:
parent
6364659c3b
commit
9db30f9eb0
1 changed files with 1 additions and 1 deletions
|
@ -10,6 +10,6 @@ def test_false_below_error():
|
||||||
record = logging.LogRecord("", logging.INFO, "", 0, "", (), None)
|
record = logging.LogRecord("", logging.INFO, "", 0, "", (), None)
|
||||||
assert not UnwantedWaitressMessageFilter().filter(record)
|
assert not UnwantedWaitressMessageFilter().filter(record)
|
||||||
|
|
||||||
def test_true_error_up():
|
def test_true_above_error():
|
||||||
record = logging.LogRecord("", logging.CRITICAL, "", 0, "", (), None)
|
record = logging.LogRecord("", logging.CRITICAL, "", 0, "", (), None)
|
||||||
assert UnwantedWaitressMessageFilter().filter(record)
|
assert UnwantedWaitressMessageFilter().filter(record)
|
||||||
|
|
Loading…
Reference in a new issue