| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Upload File : |
U
W[9 � @ s` d Z ddlmZmZ zddlmZ W n ek
r< dZY nX ddlmZ G dd� dej �Z
dS )z'
Tests for the data directory support.
� )�division�absolute_import)�_appdirsN)�unittestc @ s( e Zd ZdZesdZdd� Zdd� ZdS )�AppdirsTestsz
Tests for L{_appdirs}.
zappdirs package not installedc 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 ZgetDataDirectoryZ
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$ s
zAppdirsTests.test_manualN)�__name__�
__module__�__qualname__�__doc__r �skipr r r r r r
r s
r )r Z
__future__r r Ztwisted.pythonr �ImportErrorZ
twisted.trialr ZTestCaser r r r r
�<module> s