Lines Matching refs:content
153 content = b'{"error": {"message": "not authorized"}}'
156 content = model.response(resp, content)
164 content = model.response(resp, content)
173 content = '{"data": "is good"}'
175 content = model.response(resp, content)
176 self.assertEqual(content, 'is good')
182 content = '{"foo": "is good"}'
184 content = model.response(resp, content)
185 self.assertEqual(content, {'foo': 'is good'})
191 content = '"data goes here"'
193 content = model.response(resp, content)
194 self.assertEqual(content, 'data goes here')
200 content = ''
202 content = model.response(resp, content)
203 self.assertEqual(content, {})
256 content = '{"data": "is good"}'
257 content = model.response(resp, content)
258 self.assertEqual(content, {'data': 'is good'})
264 content = '{"data": "is good"}'
265 content = model.response(resp, content)
266 self.assertEqual(content, 'is good')
272 content = '{"atad": "is good"}'
273 content = model.response(resp, content)
274 self.assertEqual(content, {'atad': 'is good'})