
    tf3                     f    d Z 	 ddlmZ n# e$ r dZY nw xY wddlmZ  G d dej                  ZdS )z'
Tests for the data directory support.
    )_appdirsN)unittestc                   *    e Zd ZdZesdZddZddZdS )AppdirsTestsz 
    Tests for L{_appdirs}.
    zappdirs package not installedreturnNc                 |    t          j                    }|                     |                    d                     dS )z
        Calling L{appdirs.getDataDirectory} will return a user data directory
        in the system convention, with the module of the caller as the
        subdirectory.
        z twisted.python.test.test_appdirsNr   getDataDirectory
assertTrueendswithselfress     _/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/twisted/python/test/test_appdirs.pytest_moduleNamezAppdirsTests.test_moduleName   s7     '))%GHHIIIII    c                 ~    t          j        d          }|                     |                    d                     dS )z
        Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will
        make a data directory with that name instead.
        zfoo.bar.bazNr	   r   s     r   test_manualzAppdirsTests.test_manual"   s8    
 '66]3344444r   )r   N)__name__
__module____qualname____doc__r   skipr   r    r   r   r   r      sY           /.J J J J5 5 5 5 5 5r   r   )r   twisted.pythonr   ImportErrortwisted.trialr   TestCaser   r   r   r   <module>r      s    
'''''''   HHH # " " " " "5 5 5 5 58$ 5 5 5 5 5s    