Your IP : 216.73.217.30


Current Path : /lib/python3/dist-packages/twisted/python/test/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/twisted/python/test/__pycache__/test_appdirs.cpython-38.pyc

U


W[9�@s`dZddlmZmZzddlmZWnek
r<dZYnXddlmZGdd�dej	�Z
dS)z'
Tests for the data directory support.
�)�division�absolute_import)�_appdirsN)�unittestc@s(eZdZdZesdZdd�Zdd�ZdS)�AppdirsTestsz 
    Tests for L{_appdirs}.
    zappdirs package not installedcCst��}|�|�d��dS)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�rZgetDataDirectoryZ
assertTrue�endswith��self�res�r�B/usr/lib/python3/dist-packages/twisted/python/test/test_appdirs.py�test_moduleNameszAppdirsTests.test_moduleNamecCst�d�}|�|�d��dS)z�
        Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will
        make a data directory with that name instead.
        zfoo.bar.bazNrr	rrr
�test_manual$s
zAppdirsTests.test_manualN)�__name__�
__module__�__qualname__�__doc__r�skiprrrrrr
rs

r)rZ
__future__rrZtwisted.pythonr�ImportErrorZ
twisted.trialrZTestCaserrrrr
�<module>s