| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/constantly/test/__pycache__/ |
Upload File : |
+
��3i� � � � R t ^ RIHtHt ^ RIHt ^ RIHtHtH t H
t
HtHt ! R R]4 t
! R R]4 t ! R R ]]4 t ! R
R]]4 t ! R R
]4 t ! R R]]]4 t ! R R]]4 t ! R R]]4 t ! R R]]4 t ! R R]]4 t ! R R]4 t ! R R]4 t ! R R]4 t ! R R]
4 t ! R R!]4 tR"# )#z
Unit tests for L{constantly}.
)�division�absolute_import)�TestCase)�
NamedConstant�Names�
ValueConstant�Values�FlagConstant�Flagsc �H a � ] tR t^t o RtR tR tR tR tR t R t
RtV tR # )
�NamedConstantTestsz_
Tests for the L{constantly.NamedConstant} class which is used
to represent individual values.
c �0 � ! R R\ 4 pWn R# )z>
Create a dummy container into which constants can be placed.
c � � ] tR t^tRtR# )�%NamedConstantTests.setUp.<locals>.foo� N)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r � �@/usr/lib/python3/dist-packages/constantly/test/test_constants.py�foor s � �r r N)r � container)�selfr s & r �setUp�NamedConstantTests.setUp s � � �%� ��r c � � \ 4 pVP V P RR4 V P RVP 4 R# )zr
The C{name} attribute of a L{NamedConstant} refers to the value passed
for the C{name} parameter to C{_realize}.
�barN)r �_realizer �assertEqual�name�r r! s & r � test_name�NamedConstantTests.test_name s3 � �
����
�
�d�n�n�e�T�2������ � �*r c � � \ 4 pVP V P RR4 V P R\ V4 4 R# )z�
The string representation of an instance of L{NamedConstant} includes
the container the instances belongs to as well as the instance's name.
r Nz <foo=bar>)r r r r �reprr"