| Server IP : 159.223.102.202 / Your IP : 216.73.216.195 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Upload File : |
�
M��e3 � �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"