def test_render_tuple_response(self):
        response = self.pushrod.render_response((
            {u'aaa': u"hi"},  # Response value
            978,            # Status code
            {               # Headers
                'X-Aaa': "Hi!",
            },
        ), json_renderer)

        assert response.status_code == 978
        assert 'X-Aaa' in response.headers
        assert response.headers['X-Aaa'] == "Hi!"

        response_json = json.loads(response.data)

        assert u'aaa' in response_json
        assert response_json[u'aaa'] == u"hi"
dataset/ETHPy150Open teozkr/Flask-Pushrod/flask_pushrod/test_all.py/PushrodResolverTestCase.test_render_tuple_response/original