def test_get_request_json_properly_formatted(self):
        data = json.dumps(self.request_dict).encode('utf-8')
        response = self.client.post(
            '/json_request/',
            content_type='application/json',
            data=data
        )
        response_json = json.loads(response.content.decode('utf-8'))
        self.assertEqual(response.status_code, 200)
        self.assertEqual(response_json, self.request_dict)
Properly formatted JSON requests should result in a JSON object
dataset/ETHPy150Open brack3t/django-braces/tests/test_ajax_mixins.py/TestJsonRequestResponseMixin.test_get_request_json_properly_formatted