| Server IP : 85.155.190.233 / Your IP : 216.73.216.103 Web Server : nginx/1.24.0 System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : wp-moonbloom ( 1001) PHP Version : 8.3.6 Disable Function : NONE 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"