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

Method test_attonly

tests/test_multipart.py:1049–1052  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1047 self.assertEqual({'filename': 'Not an attachment!'}, params)
1048
1049 def test_attonly(self):
1050 disptype, params = parse_content_disposition('attachment')
1051 self.assertEqual('attachment', disptype)
1052 self.assertEqual({}, params)
1053
1054 def test_attonlyquoted(self):
1055 with self.assertWarns(aiohttp.multipart.BadContentDispositionHeader):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected