o
    ¯bø  ã                   @   sV   d dl mZ d dlmZ d dlmZ dZg d¢ZG dd„ dejƒZ	G dd	„ d	eƒZ
d
S )é    ©Údict)Úunittest)ÚSynchronousTestCasesL   "This is a dqstring \w\i\t\h boring stuff like: \"" and t\hes\"e are a\to\ms)s,   This is a dqstring with boring stuff like: "s   ands   thes"es   ares   atomsc                   @   s   e Zd Zdd„ ZdS )Ú
ParamTestsc                 C   s>   g }t }	 t |¡\}}|dkrn| |¡ q|  |t¡ dS )z!Testing command response handlingé   N)ÚparamStringr   Ú
parseParamÚappendÚassertEqualÚ
goodparams)ÚselfÚparamsÚrestÚparam© r   ú8/usr/lib/python3/dist-packages/twisted/test/test_dict.pyÚtestParseParam   s   
üÿzParamTests.testParseParamN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   c                   @   s   e Zd ZdZdd„ ZdS )ÚDictDeprecationTestsz2
    L{twisted.protocols.dict} is deprecated.
    c                 C   sF   ddl m} | |  | jg¡}|  dt|ƒ¡ |  d|d d ¡ dS )zO
        L{twisted.protocols.dict} is deprecated since Twisted 17.9.0.
        r   r   r   zatwisted.protocols.dict was deprecated in Twisted 17.9.0: There is no replacement for this module.ÚmessageN)Útwisted.protocolsr   ÚflushWarningsÚtest_dictDeprecationr   Úlen)r   r   ÚwarningsShownr   r   r   r   '   s   
ûz)DictDeprecationTests.test_dictDeprecationN)r   r   r   Ú__doc__r   r   r   r   r   r   "   s    r   N)r   r   Útwisted.trialr   Útwisted.trial.unittestr   r   r   ÚTestCaser   r   r   r   r   r   Ú<module>   s   	