| Server IP : 43.129.54.214 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux VM-4-108-ubuntu 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Upload File : |
�
oj3 � �f � d Z ddlmZ ddlmZ G d� dej � Zy# e$ r dZY �%w xY w)z'
Tests for the data directory support.
� )�_appdirsN)�unittestc �( � e Zd ZdZesdZdd�Zdd�Zy)�AppdirsTestsz
Tests for L{_appdirs}.
zappdirs package not installedNc �l � t j � }| j |j d� � y)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 �B/usr/lib/python3/dist-packages/twisted/python/test/test_appdirs.py�test_moduleNamezAppdirsTests.test_moduleName s( � � �'�'�)��������%G�H�I� c �n � t j d� }| j |j d� � y)z�
Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will
make a data directory with that name instead.
zfoo.bar.bazNr r s r �test_manualzAppdirsTests.test_manual"