HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/python/test/__pycache__/test_appdirs.cpython-310.pyc
o

�b3�@sNdZzddlmZWneydZYnwddlmZGdd�dej�ZdS)z'
Tests for the data directory support.
�)�_appdirsN)�unittestc@s,eZdZdZes
dZd	dd�Zd	dd�ZdS)
�AppdirsTestsz 
    Tests for L{_appdirs}.
    zappdirs package not installed�returnNcCst��}|�|�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�r�getDataDirectory�
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_manual)rN)�__name__�
__module__�__qualname__�__doc__r�skiprrr
r
r
rrs
	r)r�twisted.pythonr�ImportError�
twisted.trialr�TestCaserr
r
r
r�<module>s�