| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Upload File : |
o
�b3 � @ sN d Z zddlmZ W n ey dZY nw ddlmZ G dd� dej�ZdS )z'
Tests for the data directory support.
� )�_appdirsN)�unittestc @ s, e Zd ZdZes
dZd dd�Zd dd�ZdS )
�AppdirsTestsz
Tests for L{_appdirs}.
zappdirs package not installed�returnNc C s t �� }| �|�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_moduleName s zAppdirsTests.test_moduleNamec C s t �d�}| �|�d�� dS )z�
Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will
make a data directory with that name instead.
zfoo.bar.bazNr r
r
r
r �test_manual"