ó
[³XMc           @   sM   d  d l  m Z d  d l m Z d  d l m Z d e j f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   unittest(   t   platform(   t   cmdLineQuotet   CommandLineQuotingTestsc           B   s)   e  Z d  Z d „  Z d „  Z d „  Z RS(   s$   
    Tests for L{cmdLineQuote}.
    c         C   s   |  j  t d ƒ d ƒ d S(   sw   
        Calling C{cmdLineQuote} with an argument with no spaces should
        return the argument unchanged.
        t   an_argumentN(   t   assertEqualsR   (   t   self(    (    sB   /usr/lib/python2.7/dist-packages/twisted/python/test/test_win32.pyt   test_argWithoutSpaces   s    c         C   s   |  j  t d ƒ d ƒ d S(   s…   
        Calling C{cmdLineQuote} with an argument containing spaces should
        return the argument surrounded by quotes.
        s   An Arguments   "An Argument"N(   R   R   (   R   (    (    sB   /usr/lib/python2.7/dist-packages/twisted/python/test/test_win32.pyt   test_argWithSpaces   s    c         C   s   |  j  t d ƒ d ƒ d S(   sk   
        Calling C{cmdLineQuote} with an empty string should return a
        quoted empty string.
        t    s   ""N(   R   R   (   R   (    (    sB   /usr/lib/python2.7/dist-packages/twisted/python/test/test_win32.pyt   test_emptyStringArg   s    (   t   __name__t
   __module__t   __doc__R   R   R
   (    (    (    sB   /usr/lib/python2.7/dist-packages/twisted/python/test/test_win32.pyR   	   s   		N(   t   twisted.trialR    t   twisted.python.runtimeR   t   twisted.python.win32R   t   TestCaseR   (    (    (    sB   /usr/lib/python2.7/dist-packages/twisted/python/test/test_win32.pyt   <module>   s   