Here are the examples of the python api mock.sentinel.json_content taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
Project: saleor Source File: test_registration.py
def test_parse_json():
response = MagicMock()
response.headers = {'Content-Type': JSON_MIME_TYPE}
response.json.return_value = sentinel.json_content
content = parse_response(response)
assert content == sentinel.json_content