403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.6
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u119869361 ( 9600978)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/breezy/bzr/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/bzr/tests/__pycache__/test__chk_map.cpython-313.pyc
�

p��g�0����SrSSKJr SSKJr Sr"SS\R
5r"SS	\R
5r"S
S\R
5r"SS
\R
5r	g)zTests for _chk_map_*.�)�tests�)�chk_mapc�:�[R"XSS5up4U$)Nzbreezy.bzr._chk_map_pyzbreezy.bzr._chk_map_pyx)r�permute_tests_for_extension)�loader�standard_tests�pattern�suite�_s     �@/usr/lib/python3/dist-packages/breezy/bzr/tests/test__chk_map.py�
load_testsrs$���0�0�� 8�:S��H�E��L�c�6�\rSrSrSrSrSrSrSrSr	Sr
g)	�TestSearchKeys�Nc�X�URXRRU55 g�N)�assertEqual�module�_search_key_16)�self�expected�keys   r
�assertSearchKey16� TestSearchKeys.assertSearchKey16!s������;�;�#=�#=�c�#B�Crc�|�URRU5nURXSRU55 g)Nzactual: {!r})r�_search_key_255r�format)rrr�actuals    r
�assertSearchKey255�!TestSearchKeys.assertSearchKey255$s1�����,�,�S�1������>�+@�+@��+H�Irc��URSS5 URSS5 URSS5 URSS5 g)	Ns8C736521��foos8C7365218C736521�r%r%s8C73652176FF8CAA�r%sbarsED82CD11)sabcd)r�rs r
�test_simple_16�TestSearchKeys.test_simple_16(sP�������	
�	
���6�8H�I����6�8H�I������	
rc��URSS5 URSS5 URSS5 URSS5 g)	Ns�se!r$s	�se!�se!r&s	�se!v���r's	�m�_P_L)�<�V)r!r(s r
�test_simple_255�TestSearchKeys.test_simple_2554sO�������	
�	
��� 5�7G�H���� ;�=M�N�	
��� 8�,�Grc	��[5n[S5HUnURR[	U/545nURUVs/sHn[	U/5PM sn5 MW [S5Vs1sHn[	U/5iM nnUR
U5nURS1U5 gs snfs snf)N��
)�set�rangerr�bytes�update�symmetric_differencer)r�
chars_used�char_in�
search_key�x�	all_chars�unused_charss       r
�!test_255_does_not_include_newline�0TestSearchKeys.test_255_does_not_include_newline?s����U�
��S�z�G����4�4�e�W�I�6F�5H�I�J����:�>�:�a�u�a�S�z�:�>�?�"�*/�s��4��A�U�A�3�Z��	�4� �5�5�j�A�����%��,�/��?��4s�B9
�<B>�)�__name__�
__module__�__qualname__�__firstlineno__rrr!r)r.r>�__static_attributes__r@rr
rrs#��
�F�D�J�

�	H�	0rrc�Z�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrg)�TestDeserialiseLeafNode�KNc�h�UR[[4URRUS5 g)N�not-a-real-sha)�assertRaises�
ValueError�
IndexErrorr�_deserialise_leaf_node�r�texts  r
�assertDeserialiseErrors�/TestDeserialiseLeafNode.assertDeserialiseErrorsNs+�����
��$��K�K�.�.���		
rc�6�URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS	5 g)
Nr�short
schknotleaf:
s
chkleaf:x
s	chkleaf:
schkleaf:
notint
schkleaf:
10
schkleaf:
10
256
schkleaf:
10
256
10
�rQr(s r
�test_raises_on_non_leaf�/TestDeserialiseLeafNode.test_raises_on_non_leafVs����$�$�S�)��$�$�Z�0��$�$�%5�6��$�$�^�4��$�$�]�3��$�$�%:�;��$�$�%6�7��$�$�%;�<��$�$�%?�@rc��URRSS5nURS[U55 URSUR5 URSUR55 UR
UR5[5 URSUR5 URSUR5 g)N�chkleaf:
10
1
0

�s	sha1:1234��
)rrNr�len�maximum_sizer�assertIsInstance�tuple�assertIs�_search_prefix�_common_serialised_prefix�r�nodes  r
�test_deserialise_empty�.TestDeserialiseLeafNode.test_deserialise_emptyas����{�{�1�1�%��
��	
����C��I�&�����T�.�.�/�����$�(�(�*�5����d�h�h�j�%�0��
�
�d�D�/�/�0��
�
�d�D�:�:�;rc���URRSS5nURS[U55 URSS/[	URS555 g)N�+chkleaf:
0
1
2

foo bar1
baz
quux1
blarh
rZr)�sfoo barsbaz���quux�blarh�rrNrr]�sorted�	iteritemsrds  r
�test_deserialise_items�.TestDeserialiseLeafNode.test_deserialise_itemsmsZ���{�{�1�1�I��
��	
����C��I�&����
$�&<�=��4�>�>�$�'�(�	
rc���URRSS5nURS[U55 URSS/[	URS555 g)Ns+chkleaf:
0
1
2

foo1
barbaz
quux1
blarh
rZr)r$�barbazrkrords  r
�'test_deserialise_item_with_null_width_1�?TestDeserialiseLeafNode.test_deserialise_item_with_null_width_1xsZ���{�{�1�1�L��
��	
����C��I�&����
'�)?�@��4�>�>�$�'�(�	
rc���URRSS5nURS[U55 URSS/[	URS555 g)Ns.chkleaf:
0
2
2

foo11
barbaz
quux1
blarh
rZr��r%�1ru))rmrrnrords  r
�'test_deserialise_item_with_null_width_2�?TestDeserialiseLeafNode.test_deserialise_item_with_null_width_2�sZ���{�{�1�1�U��
��	
����C��I�&����
,�.H�I��4�>�>�$�'�(�	
rc
���URRSS5nURS[U55 URS/[	URSSS/555 g)NrirZrrkrl)sqazrords  r
�(test_iteritems_selected_one_of_two_items�@TestDeserialiseLeafNode.test_iteritems_selected_one_of_two_items�s^���{�{�1�1�I��
��	
����C��I�&����
#�$��4�>�>�$��Y�(?�@�A�	
rc�V�URRSS5nURS[U55 URSS/[	URS555 UR
[RUR5 URSUR5 g)Ns*chkleaf:
0
2
2
foo
11
barbaz
21
blarh
rZrry)�r%�2rn�foo�rrNrr]rprqrar�_unknownrbrcrds  r
�(test_deserialise_item_with_common_prefix�@TestDeserialiseLeafNode.test_deserialise_item_with_common_prefix�s����{�{�1�1�N��
��	
����C��I�&����
,�.H�I��4�>�>�$�'�(�	
�	
�
�
�g�&�&��(;�(;�<�����T�%C�%C�Drc�V�URRSS5nURS[U55 URSS/[	URS555 UR
[RUR5 URSUR5 g)Ns+chkleaf:
0
2
2
foo
12
bar
baz
22
blarh

rZr)rzsbar
baz)r�sblarh
r�r�rds  r
�test_deserialise_multi_line�3TestDeserialiseLeafNode.test_deserialise_multi_line�s����{�{�1�1�N��
��	
����C��I�&����-�,�
�
�4�>�>�$�'�(�	
�	
�
�
�g�&�&��(;�(;�<�����T�%C�%C�Drc��URRSS5nURSSS5 URSUR	55 g)NrYrZrjsbaz quux)rrN�maprrrds  r
�test_key_after_map�*TestDeserialiseLeafNode.test_key_after_map�sC���{�{�1�1�%��
��	
����}�k�2�����t�x�x�z�*rc��URRSS5nURSS5 URSUR	55 g)NrirZrj)rrN�unmaprrrds  r
�test_key_after_unmap�,TestDeserialiseLeafNode.test_key_after_unmap�sB���{�{�1�1�I��
��	
�
�
�4��'�����t�x�x�z�*rr@)rArBrCrDrrQrVrfrrrvr|rr�r�r�r�rEr@rr
rGrGKsA��
�F�
�	A�
<�	
�	
�	
�	
�E�E� +�+rrGc�<�\rSrSrSrSrSrSrSrSr	Sr
S	rg)
�TestDeserialiseInternalNode��Nc�h�UR[[4URRUS5 g)N)rJ)rKrLrMr�_deserialise_internal_noderOs  r
rQ�3TestDeserialiseInternalNode.assertDeserialiseErrors�s+�����
��$��K�K�2�2�� �		
rc�X�URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS	5 URS
5 g)NrrTschknotnode:
s
chknode:x
s	chknode:
schknode:
notint
schknode:
10
schknode:
10
256
schknode:
10
256
10
schknode:
10
256
0
1
forUr(s r
�test_raises_on_non_internal�7TestDeserialiseInternalNode.test_raises_on_non_internal�s����$�$�S�)��$�$�Z�0��$�$�%5�6��$�$�^�4��$�$�]�3��$�$�%:�;��$�$�%6�7��$�$�%;�<��$�$�%?�@��$�$�%C�Drc��URRSS5nURU[R5 URS[
U55 URSUR5 URSUR55 URSUR5 URSS0UR5 g)Nschknode:
10
1
1

asha1:abcd
rZ�r\r�a�s	sha1:abcd�rr�r_r�InternalNoderr]r^rrb�_itemsrds  r
�test_deserialise_one�0TestDeserialiseInternalNode.test_deserialise_one�s����{�{�5�5�5��
��	
���d�G�$8�$8�9�����C��I�&�����T�.�.�/�����$�(�(�*�5�����d�1�1�2����$��0�$�+�+�>rc�8�URRSS5nURU[R5 URS[
U55 URSUR5 URSUR55 URSUR5 URSS0UR5 URRSS5nURU[R5 URS[
U55 URSUR5 URSUR55 URSUR5 URSS0UR5 g)	Ns!chknode:
10
1
1
pref
asha1:abcd
rZr�r\sprefsprefar�s chknode:
10
1
1
pref
sha1:abcd
r�rds  r
�test_deserialise_with_prefix�8TestDeserialiseInternalNode.test_deserialise_with_prefix�sD���{�{�5�5�9��
��	
���d�G�$8�$8�9�����C��I�&�����T�.�.�/�����$�(�(�*�5�����$�"5�"5�6����(�O�4�d�k�k�B��{�{�5�5�8��
��	
���d�G�$8�$8�9�����C��I�&�����T�.�.�/�����$�(�(�*�5�����$�"5�"5�6����'�?�3�T�[�[�Arc��URRSS5nURU[R5 URS[
U55 URSUR5 URSUR55 URSUR5 URSS0UR5 g)Ns#chknode:
10
1
1
preffo
sha1:abcd
rZr�r\�preffor�r�rds  r
�test_deserialise_pref_with_null�;TestDeserialiseInternalNode.test_deserialise_pref_with_nulls����{�{�5�5�>��
��	
���d�G�$8�$8�9�����C��I�&�����T�.�.�/�����$�(�(�*�5������(;�(;�<����-��9�4�;�;�Grc��URRSS5nURU[R5 URS[
U55 URSUR5 URSUR55 URSUR5 URSS0UR5 g)Ns$chknode:
10
1
1
preffo
sha1:abcd
rZr�r\r�spreffor�r�rds  r
�test_deserialise_with_null_pref�;TestDeserialiseInternalNode.test_deserialise_with_null_pref
s����{�{�5�5�B��
��	
���d�G�$8�$8�9�����C��I�&�����T�.�.�/�����$�(�(�*�5������(;�(;�<����+�_�=�t�{�{�Krr@)rArBrCrDrrQr�r�r�r�r�rEr@rr
r�r��s)��
�F�
�E�
?�B�.
H�
Lrr�c�J�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
g)
�Test_BytesToTextKeyic�X�URXRRU55 gr)rr�_bytes_to_text_key)rrr5s   r
�assertBytesToTextKey�(Test_BytesToTextKey.assertBytesToTextKeys������k�k�<�<�U�C�Drc�Z�UR[URRU5 gr)rK�	Exceptionrr�)rr5s  r
�assertBytesToTextKeyRaises�.Test_BytesToTextKey.assertBytesToTextKeyRaisess ��	
���)�T�[�[�%C�%C�U�Krc�(�URSS5 g)N)sfile-id�revision-idsWfile: file-id
parent-id
name
revision-id
da39a3ee5e6b4b0d3255bfef95601890afd80709
100
N�r�r(s r
�	test_file�Test_BytesToTextKey.test_file$s���!�!�(�
@�	
rc�&�URS5 g)NsWfile  file-id
parent-id
name
revision-id
da39a3ee5e6b4b0d3255bfef95601890afd80709
100
N�r�r(s r
�test_invalid_no_kind�(Test_BytesToTextKey.test_invalid_no_kind+����'�'�
@�	
rc�&�URS5 g)NsVfile:file-id
parent-id
name
revision-id
da39a3ee5e6b4b0d3255bfef95601890afd80709
100
Nr�r(s r
�test_invalid_no_space�)Test_BytesToTextKey.test_invalid_no_space1r�rc�&�URS5 g)Nsfile:file-idr�r(s r
�test_invalid_too_short_file_id�2Test_BytesToTextKey.test_invalid_too_short_file_id7s���'�'��8rc�&�URS5 g)Nsfile:file-id
parent-idr�r(s r
� test_invalid_too_short_parent_id�4Test_BytesToTextKey.test_invalid_too_short_parent_id:s���'�'�(B�Crc�&�URS5 g)Nsfile:file-id
parent-id
namer�r(s r
�test_invalid_too_short_name�/Test_BytesToTextKey.test_invalid_too_short_name=s���'�'�(H�Irc�(�URSS5 g)N)sdir-idr�s&dir: dir-id
parent-id
name
revision-idr�r(s r
�test_dir�Test_BytesToTextKey.test_dir@s���!�!�'�)U�	
rr@N)rArBrCrDr�r�r�r�r�r�r�r�r�rEr@rr
r�r�s3��E�L�
�
�
�9�D�J�
rr�N)
�__doc__�rrr�TestCaserrGr�r�r@rr
�<module>r�s^��"����*0�U�^�^�*0�Zx+�e�n�n�x+�vQL�%�.�.�QL�h)
�%�.�.�)
r

Youez - 2016 - github.com/yon3zu
LinuXploit