MCPcopy Create free account
hub / github.com/oauthlib/oauthlib / test_non_formencoded_string_body

Method test_non_formencoded_string_body

tests/test_common.py:147–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

145 self.assertEqual(r.decoded_body, [])
146
147 def test_non_formencoded_string_body(self):
148 body = 'foo bar'
149 r = Request(URI, body=body)
150 self.assertIsNone(r.decoded_body)
151
152 def test_param_free_sequence_body(self):
153 body = [1, 1, 2, 3, 5, 8, 13]

Callers

nothing calls this directly

Calls 1

RequestClass · 0.90

Tested by

no test coverage detected