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{testSuite} method. L{runner.TestLoader}
should load the tests from the C{testSuite}, not from the C{Foo} C{TestCase}.

See L{twisted.trial.test.test_loader.LoaderTest.test_loadModuleWith_testSuite}.
é    )ÚunittestÚrunnerc                   @   s   e Zd Zdd„ ZdS )ÚFooc                 C   s   d S )N© )Úselfr   r   úE/usr/lib/python3/dist-packages/twisted/trial/test/mockcustomsuite2.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   Ú	testSuite   s    r   N)Ú__doc__Ztwisted.trialr   r   ZSynchronousTestCaser   r   r   r   r   r   Ú<module>   s   