no log: small fix to test

pull/2679/head v1.4.5-beta.1
morpheus65535 2 months ago
parent 6364659c3b
commit 9db30f9eb0

@ -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…
Cancel
Save