

def test_json(self):
    self.app.setup()
    json_res.app.run()
    res = self.app.render(dict(foo='bar'))
    json_res = json.dumps(dict(foo='bar'))
    self.eq(res, json_res)

dataset/ETHPy150Open datafolklabs/cement/tests/ext/json_tests.py JsonExtTestCase.test_json/VarMisuse@18/20 `self`->`json_res`