MCPcopy
hub / github.com/aio-libs/aiohttp / test_parse_empty

Method test_parse_empty

tests/test_multipart.py:1021–1024  ·  tests/test_multipart.py::ParseContentDispositionTestCase.test_parse_empty
(self)

Source from the content-addressed store, hash-verified

1019 class="cm"># http://greenbytes.de/tech/tc2231/
1020
1021 def test_parse_empty(self):
1022 disptype, params = parse_content_disposition(None)
1023 self.assertEqual(None, disptype)
1024 self.assertEqual({}, params)
1025
1026 def test_inlonly(self):
1027 disptype, params = parse_content_disposition(&class="cm">#x27;inline')

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected