def test_success(self):
        data = "Huzzah!"
        self.jsend_rh.success(data)
        assert self.jsend_rh._buffer == {'status': 'success', 'data': data}
Tests JSendMixin.success
dataset/ETHPy150Open hfaran/Tornado-JSON/tests/test_tornado_json.py/TestJSendMixin.test_success