ó
ńö~Mc           @   sĀ   d  Z  d d l Z d d l m Z d d l m Z d e j f d     YZ d   Z d   Z	 d	 e j f d
     YZ
 d e j f d     YZ d e f d     YZ d e j f d     YZ d S(   s¶   This module is used by test_loader to test the Trial test loading
functionality. Do NOT change the number of tests in this module.  Do NOT change
the names the tests in this module.
i’’’’N(   t   unittest(   t   mergeFunctionMetadatat   FooTestc           B   s   e  Z d    Z d   Z RS(   c         C   s   d  S(   N(    (   t   self(    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_foo   s    c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_bar   s    (   t   __name__t
   __module__R   R   (    (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR      s   	c            s     f d   } | S(   s   
    Decorate a function without preserving the name of the original function.
    Always return a function with the same name.
    c             s     |  |   S(   N(    (   t   argst   kwargs(   t   fn(    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   nameCollision   s    (    (   R
   R   (    (   R
   s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   badDecorator   s    c            s     f d   } t    |  S(   s=   
    Decorate a function and preserve the original name.
    c             s     |  |   S(   N(    (   R   R	   (   R
   (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   '   s    (   R   (   R
   R   (    (   R
   s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   goodDecorator#   s    t   DecorationTestc           B   sP   e  Z d    Z e e  Z d   Z e e  Z d   Z e e  Z d   Z RS(   c         C   s   d S(   s   
        This test method is decorated in a way that gives it a confusing name
        that collides with another method.
        N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_badDecorator.   s    c         C   s   d S(   sQ   
        This test method is decorated in a way that preserves its name.
        N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_goodDecorator6   s    c         C   s   d S(   s~   
        This is secretly a test method and will be decorated and then renamed so
        test discovery can find it.
        N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   renamedDecorator=   s    c         C   s   d S(   sJ   
        This isn't a test, it's just here to collide with tests.
        N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   E   s    (	   R   R   R   R   R   R   R   t   test_renamedDecoratorR   (    (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   -   s   			t
   PyunitTestc           B   s   e  Z d    Z d   Z RS(   c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   O   s    c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   S   s    (   R   R   R   R   (    (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   L   s   	t   NotATestc           B   s   e  Z d    Z RS(   c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   [   s    (   R   R   R   (    (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   X   s   t   AlphabetTestc           B   s#   e  Z d    Z d   Z d   Z RS(   c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_ac   s    c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_bg   s    c         C   s   d  S(   N(    (   R   (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   test_ck   s    (   R   R   R   R   R   (    (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyR   `   s   		(   t   __doc__R    t   pyunitt   twisted.trialt   twisted.python.utilR   t   TestCaseR   R   R   R   R   t   objectR   R   (    (    (    s=   /usr/lib/python2.7/dist-packages/twisted/trial/test/sample.pyt   <module>   s   		
