| Server IP : 74.208.250.37 / Your IP : 216.73.216.114 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) 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"