Ńň ˆ_‚Jc@snddklZlZddklZddklZddklZd„Z d„Z d„Z d„Z d S( i˙˙˙˙(t TestConfigtapp_from_config(tBunch(tTestApp(t tmpl_contextcCs>tdddhtd6tƒd6td6td6ƒ}t|ƒS(Ntfoldert renderingtvaluestuse_sqlalchemyspylons.helperstuse_legacy_renderertuse_dotted_templatenames(RtFalseRR(t base_config((sN/usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyt setup_noDBs     cCsatƒ}|idƒ}|idjpt‚d|ijpt‚d|ijpt‚dS(Ns/custom_format?format=jsonsapplication/jsons"status": "ok"s"format": "json"(R tgett content_typetAssertionErrortbody(tapptresp((sN/usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyttest_json_custom_formats  cCsatƒ}|idƒ}d|ijpt‚d|ijpt‚d|ijpt‚dS(Ns/custom_format?format=xmlstext/xmlsoksxml(R RRRR(RR((sN/usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyttest_xml_custom_formats  cCsatƒ}|idƒ}d|ijpt‚d|ijpt‚d|ijpt‚dS(Ns/custom_format?format=htmls text/htmls
  • Status: ok
  • s
  • Format: html
  • (R RRRR(RR((sN/usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyttest_html_custom_formats  N( t tg.test_stackRRttg.utilRtwebtestRtpylonsRR RRR(((sN/usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyts