Ńň
_Jc @ sn d d k l Z l Z d d k l Z d d k l Z d d k l Z d Z d Z
d Z d Z d S(
i˙˙˙˙( t
TestConfigt app_from_config( t Bunch( t TestApp( t tmpl_contextc C s> t d d d h t d 6t d 6t d 6t d 6 } t | S( Nt foldert renderingt valuest use_sqlalchemys pylons.helperst use_legacy_renderert use_dotted_templatenames( R t FalseR R ( t base_config( ( sN /usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyt
setup_noDB s
c C sa t } | i d } | i d j p t d | i j p t d | i j p t d S( Ns /custom_format?format=jsons application/jsons "status": "ok"s "format": "json"( R
t gett content_typet AssertionErrort body( t appt resp( ( sN /usr/lib/python2.6/site-packages/tg/test_stack/rendering/test_custom_format.pyt test_json_custom_format s
c C sa t } | i d } d | i j p t d | i j p t d | i j p t d S( Ns /custom_format?format=xmls text/xmls