U
    ª€lj   ã                   @   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}.
é    )ÚrunnerÚunittestc                   @   s   e Zd Zddœdd„ZdS )ÚFooN)Úreturnc                 C   s   d S )N© )Úselfr   r   úF/tmp/pip-unpacked-wheel-aghyhbke/twisted/trial/test/mockcustomsuite.pyÚtest_foo   s    zFoo.test_foo)Ú__name__Ú
__module__Ú__qualname__r	   r   r   r   r   r      s   r   c                  C   s   t  ¡ } d| _| S )NZMyCustomSuite)r   Z	TestSuiteÚname)Útsr   r   r   Ú
test_suite   s    r   N)Ú__doc__Ztwisted.trialr   r   ZSynchronousTestCaser   r   r   r   r   r   Ú<module>   s   