1
0
Fork 0
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:
morpheus65535 2024-09-20 08:43:53 -04:00
parent 6364659c3b
commit 9db30f9eb0

View file

@ -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)