diff options
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r-- | tests/test_parser.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py index eace4af..0a68a66 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -572,7 +572,11 @@ class TestHTTPRequestParserIntegration(unittest.TestCase): self.assertFalse(parser.empty) self.assertEqual( parser.headers, - {"FIRSTNAME": "mickey", "LASTNAME": "Mouse", "CONTENT_LENGTH": "6",}, + { + "FIRSTNAME": "mickey", + "LASTNAME": "Mouse", + "CONTENT_LENGTH": "6", + }, ) self.assertEqual(parser.path, "/foobar") self.assertEqual(parser.command, "GET") @@ -662,7 +666,12 @@ class TestHTTPRequestParserIntegration(unittest.TestCase): ) self.feed(data) self.assertTrue(self.parser.completed) - self.assertEqual(self.parser.headers, {"CONTENT_LENGTH": "6",}) + self.assertEqual( + self.parser.headers, + { + "CONTENT_LENGTH": "6", + }, + ) class Test_unquote_bytes_to_wsgi(unittest.TestCase): |