U
    
W[  ã                   @   s2   d Z ddlmZmZ G dd„ dejƒZdd„ ZdS )zí
Mock test module that contains a C{test_suite} method. L{runner.TestLoader}
should load the tests from the C{test_suite}, not from the C{Foo} C{TestCase}.

See {twisted.trial.test.test_loader.LoaderTest.test_loadModuleWith_test_suite}.
é    )ÚunittestÚrunnerc                   @   s   e Zd Zdd„ ZdS )ÚFooc                 C   s   d S )N© )Úselfr   r   úD/usr/lib/python3/dist-packages/twisted/trial/test/mockcustomsuite.pyÚtest_foo   s    zFoo.test_fooN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s   r   c                  C   s   t  ¡ } d| _| S )NZMyCustomSuite)r   Z	TestSuiteÚname)Ztsr   r   r   Ú
test_suite   s    r   N)Ú__doc__Ztwisted.trialr   r   ZSynchronousTestCaser   r   r   r   r   r   Ú<module>   s   