]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
test: Add missing level to ExpectLog call
authorBen Darnell <ben@bendarnell.com>
Mon, 17 Feb 2020 21:22:54 +0000 (16:22 -0500)
committerBen Darnell <ben@bendarnell.com>
Wed, 2 Sep 2020 15:10:13 +0000 (11:10 -0400)
tornado/test/simple_httpclient_test.py

index 18e09691143ef44097b057d9f41c0f556d6e3981..0f8880ee16a8293633133e20d5f81cc47514ed3f 100644 (file)
@@ -752,7 +752,7 @@ class MaxHeaderSizeTest(AsyncHTTPTestCase):
         self.assertEqual(response.body, b"ok")
 
     def test_large_headers(self):
-        with ExpectLog(gen_log, "Unsatisfiable read"):
+        with ExpectLog(gen_log, "Unsatisfiable read", level=logging.INFO):
             with self.assertRaises(UnsatisfiableReadError):
                 self.fetch("/large", raise_error=True)