Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/python/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/python/test/test_htmlizer.pyc

ó
[³XMc@sPdZddlmZddlmZddlmZdefd„ƒYZdS(s'
Tests for L{twisted.python.htmlizer}.
iÿÿÿÿ(tStringIO(tTestCase(tfiltertFilterTestscBs eZdZd„Zd„ZRS(s6
    Tests for L{twisted.python.htmlizer.filter}.
    cCs<tdƒ}tƒ}t||ƒ|j|jƒdƒdS(sˆ
        If passed an empty input file, L{filter} writes a I{pre} tag containing
        only an end marker to the output file.
        ts2<pre><span class="py-src-endmarker"></span></pre>
N(RRtassertEqualtgetvalue(tselftinputtoutput((sE/usr/lib/python2.7/dist-packages/twisted/python/test/test_htmlizer.pyt
test_emptys	
cCs<tdƒ}tƒ}t||ƒ|j|jƒdƒdS(s³
        If passed an input file containing a variable access, L{filter} writes
        a I{pre} tag containing a I{py-src-variable} span containing the
        variable.
        sfoo
s<pre><span class="py-src-variable">foo</span><span class="py-src-newline">
</span><span class="py-src-endmarker"></span></pre>
N(RRRR(RRR	((sE/usr/lib/python2.7/dist-packages/twisted/python/test/test_htmlizer.pyt
test_variables	
	(t__name__t
__module__t__doc__R
R(((sE/usr/lib/python2.7/dist-packages/twisted/python/test/test_htmlizer.pyRs	N(RRttwisted.trial.unittestRttwisted.python.htmlizerRR(((sE/usr/lib/python2.7/dist-packages/twisted/python/test/test_htmlizer.pyt<module>s