ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/jinja2/testsuite/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/jinja2/testsuite/utils.pyo

�
,��Qc@s�dZddlZddlZddlZddlmZddlmZmZm	Z	defd��YZ
defd��YZd	efd
��YZd�Z
dS(s�
    jinja2.testsuite.utils
    ~~~~~~~~~~~~~~~~~~~~~~

    Tests utilities jinja uses.

    :copyright: (c) 2010 by the Jinja Team.
    :license: BSD, see LICENSE for more details.
i����N(t
JinjaTestCase(tLRUCachetescapetobject_type_reprtLRUCacheTestCasecBseZd�Zd�ZRS(cCs@td�}d|d<d|d<d|d<|dd|d<dS(	Niitaitbtcitd(R(tselfR((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyttest_simples



cCs^td�}d|d<d|d<|dx/td�D]!}tjtj||��}q5WdS(Nii*tfooitbari(Rtrangetpickletloadstdumps(R	tcachetprotocoltcopy((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyttest_pickleable!s

(t__name__t
__module__R
R(((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyRs	
tHelpersTestCasecBseZd�ZRS(cCs�dtfd��Y}|jtd�d�|jtg�d�|jt|��d�|jtd�d�|jtt�d�dS(	NtXcBseZRS((RR(((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR1si*s
int objectslist objectsjinja2.testsuite.utils.X objecttNonetEllipsis(tobjecttassert_equalRRR(R	R((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyttest_object_type_repr0s(RRR(((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR.stMarkupLeakTestCasecBseZd�ZRS(cCs|t�}xltd�D]^}x<td�D].}td�td�td�td�q)W|jttj���qWdS(Nii�Rs<foo>ufoou<foo>(tsetR
Rtaddtlentgctget_objects(R	tcountstcounttitem((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyttest_markup_leaks=s	


(RRR'(((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR;scCsdtj�}|jtjt��|jtjt��ttd�s`|jtjt��n|S(Nt	func_code(	tunittestt	TestSuitetaddTestt	makeSuiteRRthasattrRR(tsuite((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyR.Is(t__doc__R"R)Rtjinja2.testsuiteRtjinja2.utilsRRRRRRR.(((s:/usr/lib/python2.7/site-packages/jinja2/testsuite/utils.pyt<module>
s


Zerion Mini Shell 1.0