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

Method test_getattr_existing_attribute

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

Source from the content-addressed store, hash-verified

163 self.assertCountEqual(r.decoded_body, PARAMS_TWOTUPLE)
164
165 def test_getattr_existing_attribute(self):
166 r = Request(URI, body='foo bar')
167 self.assertEqual('foo bar', getattr(r, 'body'))
168
169 def test_getattr_return_default(self):
170 r = Request(URI, body='')

Callers

nothing calls this directly

Calls 1

RequestClass · 0.90

Tested by

no test coverage detected