def test_ashes_mixed():
    ashes_render = AshesRenderFactory(_TMPL_DIR)
    tmpl = 'basic_template.html'
    app = Application([('/', hello_world_ctx, tmpl),
                       ('/json/', hello_world_ctx, render_basic)],
                      render_factory=ashes_render)

    c = Client(app, BaseResponse)
    resp = c.get('/')
    yield eq_, resp.status_code, 200
    yield ok_, 'Salam' in resp.data

    resp = c.get('/json/')
    yield eq_, resp.status_code, 200
dataset/ETHPy150Open mahmoud/clastic/clastic/tests/test_ashes_render.py/test_ashes_mixed/original