Ë
    oj	  ã                   óB   — d Z ddlmZ ddlmZ ddlmZ  G d„ de«      Zy)z'
Tests for L{twisted.python.htmlizer}.
é    )ÚBytesIO)Úfilter)ÚTestCasec                   ó    — e Zd ZdZdd„Zdd„Zy)ÚFilterTestsz6
    Tests for L{twisted.python.htmlizer.filter}.
    Nc                 ó†   — t        d«      }t        «       }t        ||«       | j                  |j                  «       d«       y)zˆ
        If passed an empty input file, L{filter} writes a I{pre} tag containing
        only an end marker to the output file.
        ó    s2   <pre><span class="py-src-endmarker"></span></pre>
N©r   r   ÚassertEqualÚgetvalue©ÚselfÚinputÚoutputs      úC/usr/lib/python3/dist-packages/twisted/python/test/test_htmlizer.pyÚ
test_emptyzFilterTests.test_empty   s9   € ô
 ˜“ˆÜ“ˆÜˆu�fÔØ×ÑØ�O‰OÓÐUõ	
r	   c                 ó†   — t        d«      }t        «       }t        ||«       | j                  |j                  «       d«       y)z³
        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.
        s   foo
s   <pre><span class="py-src-variable">foo</span><span class="py-src-newline">
</span><span class="py-src-endmarker"></span></pre>
Nr
   r   s      r   Útest_variablezFilterTests.test_variable   s=   € ô ˜Ó!ˆÜ“ˆÜˆu�fÔØ×ÑØ�O‰OÓðEõ	
r	   )ÚreturnN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r	   r   r   r      s   „ ñó

ô
r	   r   N)r   Úior   Útwisted.python.htmlizerr   Útwisted.trial.unittestr   r   r   r	   r   ú<module>r      s!   ðñõ å *Ý +ô
�(õ 
r	   