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_testament.cpython-313.pyc
�

p��g
;�
��SrSSKrSSKJr SSKJrJrJr SSKJ	r	 SSK
Jr "SS\	5r"S	S
\5r
"SS\
5r"S
S\
5rSrSrSrS\R&"\5-rS\R&"\5-rS\R&"\5-rSrSrSrS\R&"\5-rS\R&"\5-rS\R&"\5-rSrSrSrSr Sr!S r"S!r#S"r$S#r%\\\\\\ \\#S$.\\\\\\!\\$S$.\\\\\\"\\%S$.0r&g)%z Test testaments for gpg signing.�N)�osutils)�StrictTestament�StrictTestament3�	Testament)�TestCaseWithTransport)�SymlinkFeaturec�(^�\rSrSrU4SjrSrU=r$)�TestamentSetup�c�:>�[TU]5 URS5UlURR	S5 URR
=olSUlURRSSSSSS	9 UR/S
Q5 URR/SQ/SQS
9 URR5nURS5nURSU5 UR5 URRSSSSSS9 g)N�.sTREE_ROTztest branchzinitial null commit�	test@user鏏KCr�test@user-1)�message�	committer�	timestamp�timezone�rev_id))�helloscontents of hello file)zsrc/)�	src/foo.csint main()
{
}
)r�srcr)shello-idssrc-idsfoo.c-id��idsrTzadd files and directoriesiˏKC頌�test@user-2�rrrrr)�super�setUp�make_branch_and_tree�wt�set_root_id�branch�b�nick�commit�build_tree_contents�add�	transform�trans_id_tree_path�set_executability�apply)�selfr$�tt�trans_id�	__class__s    ��A/usr/lib/python3/dist-packages/breezy/bzr/tests/test_testament.pyr�TestamentSetup.setUps���
��
���+�+�C�0��������K�(��W�W�^�^�#��F���������)�!� ��!�	�	
�	
� � �
�	
�	
�����)�/T�	�	
��W�W�
�
�
 ���(�(��1��
���T�8�,�
���
������/� ��!�!�	�	
�)r$r!)�__name__�
__module__�__qualname__�__firstlineno__r�__static_attributes__�
__classcell__)r0s@r1r
r
s
���!
�!
r3r
c�V�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rg)�TestamentTests�Bc��[$�N)r�r-s r1�testament_class�TestamentTests.testament_classCs���r3c�6�[UR5U$r>)�textsr@)r-�keys  r1�expected�TestamentTests.expectedFs���T�)�)�+�,�S�1�1r3c�@�UR5RX5$r>)r@�
from_revision)r-�
repository�revision_ids   r1rH�TestamentTests.from_revisionIs���#�#�%�3�3�J�L�Lr3c�D�URURRS5nURnURnU"[U[55 U"URS5 U"URS5 U"URS5 U"URS5 g)z*Testament for a revision with no contents.rrrrN)rHr$rI�
assertTrue�assertEqual�
isinstancerrJrrr)r-�t�ass�eqs    r1�test_null_testament�"TestamentTests.test_null_testamentLsy�����t�v�v�0�0�.�A���o�o��
�
�
���J�q�)�$�%�
�1�=�=�.�)�
�1�;�;��$�
�1�;�;�
�#�
�1�:�:�q�r3c�P�URURRS5nUR5nUR	SRU55 UR
X RS55 UR5nUR
X0RS55 g)z/Conversion of testament to canonical text form.r�testament text form:
{}�rev_1�rev_1_shortN�	rHr$rI�as_text�log�format�assertEqualDiffrE�
as_short_text)r-rP�	text_form�short_text_forms    r1�test_testment_text_form�&TestamentTests.test_testment_text_formWs{�����t�v�v�0�0�.�A���I�I�K�	����+�2�2�9�=�>����Y�
�
�g�(>�?��/�/�+�����_�m�m�M�.J�Kr3c�P�URURRS5nUR5nUR	SRU55 UR
X RS55 UR5nUR
X0RS55 g)z,Testament containing a file and a directory.rrV�rev_2�rev_2_shortNrY)r-rPr_�actual_shorts    r1�test_testament_with_contents�+TestamentTests.test_testament_with_contents`s{�����t�v�v�0�0�.�A���I�I�K�	����+�2�2�9�=�>����Y�
�
�g�(>�?����(�����\�=�=��+G�Hr3c��UR[UR55 [R"SS5 UR
R
S/S/S9 UR
RSSSSS	S
9 URURRS5nURUR5URS55 g)
z.Testament containing symlink (where possible).zwibble/linktarget�linkslink-idrzadd symlink�ՏKCr�test@user-3rr�rev_3N)�requireFeaturer�test_dir�os�symlinkr!r(r&rHr$rIr]rZrE�r-rPs  r1�test_testament_symlinks�&TestamentTests.test_testament_symlinksis������N�4�=�=�9�:�
�
�
�&��/������V�H�:�,��/������!� ��!�!�	�	
�
���t�v�v�0�0�.�A�����Q�Y�Y�[�$�-�-��*@�Ar3c	��SSSS.nURRSSSSS	US
9 URURRS5nURUR
5URS55 g)
z,Testament to revision with extra properties.zsour cherry
cream cheese�medium�)�flavor�size�emptyzrevision with propertiesrkrrlr�rrrrr�revprops�	rev_propsN)r!r&rHr$rIr]rZrE)r-�propsrPs   r1�test_testament_revprops�&TestamentTests.test_testament_revpropsxsz��2���
��
	
�����.� ��!�!��
	�	
�
���t�v�v�0�0�.�A�����Q�Y�Y�[�$�-�-��*D�Er3c	��URRSSSSSSS0S9 URURRS5nURUR
S	5RS
5UR55 g)Nunon-ascii commit © merkrrluErik Bågfors <test@user>�uni�µr{�sample_unicodezutf-8)	r!r&rHr$rIr]rE�encoderZrrs  r1�%test_testament_unicode_commit_message�4TestamentTests.test_testament_unicode_commit_message�sy�������<� ��!�3��V�_�
	�	
�
���t�v�v�0�0�.�A������M�M�*�+�2�2�7�;�Q�Y�Y�[�	
r3c�6�URRRS5nUR5R	U5nUR5nUR
URRS5R5nURX45 g�Nr)r$rI�
revision_treer@�from_revision_treer^rHrN)r-�tree�	testament�text_1�text_2s     r1�test_from_tree�TestamentTests.test_from_tree�sv���v�v� � �.�.�~�>���(�(�*�=�=�d�C�	��(�(�*���#�#�D�F�F�$5�$5�~�F�T�T�V������(r3c�n�URRRS5nURRRS5nUR	5"X5nUR5nUR
URRS5R5nURXE5 gr�)r$rI�get_revisionr�r@r^rHrN)r-�revisionr��testament_1r�r�s      r1�
test___init__�TestamentTests.test___init__�s����6�6�$�$�1�1�.�A���v�v� � �.�.�~�>���*�*�,�X�<���*�*�,���#�#�D�F�F�$5�$5�~�F�T�T�V������(r3�N)r4r5r6r7r@rErHrSrargrsrr�r�r�r8r�r3r1r;r;Bs>���2�M�	�L�I�
B�F�$
�)�)r3r;c��\rSrSrSrSrg)�TestamentTestsStrict�c��[$r>)rr?s r1r@�$TestamentTestsStrict.testament_class�s���r3r�N�r4r5r6r7r@r8r�r3r1r�r��s��r3r�c��\rSrSrSrSrg)�TestamentTestsStrict2�c��[$r>)rr?s r1r@�%TestamentTestsStrict2.testament_class�s���r3r�Nr�r�r3r1r�r��s�� r3r�s�bazaar-ng testament version 1
revision-id: test@user-1
committer: test@user
timestamp: 1129025423
timezone: 0
parents:
message:
  initial null commit
inventory:
properties:
  branch-nick:
    test branch
s�bazaar-ng testament version 2.1
revision-id: test@user-1
committer: test@user
timestamp: 1129025423
timezone: 0
parents:
message:
  initial null commit
inventory:
properties:
  branch-nick:
    test branch
s�bazaar testament version 3 strict
revision-id: test@user-1
committer: test@user
timestamp: 1129025423
timezone: 0
parents:
message:
  initial null commit
inventory:
  directory . TREE_ROT test@user-1 no
properties:
  branch-nick:
    test branch
sCbazaar-ng testament short form 1
revision-id: test@user-1
sha1: %s
sEbazaar-ng testament short form 2.1
revision-id: test@user-1
sha1: %s
sGbazaar testament short form 3 strict
revision-id: test@user-1
sha1: %s
s}bazaar-ng testament version 1
revision-id: test@user-2
committer: test@user
timestamp: 1129025483
timezone: 36000
parents:
  test@user-1
message:
  add files and directories
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73
  directory src src-id
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24
properties:
  branch-nick:
    test branch
s�bazaar-ng testament version 2.1
revision-id: test@user-2
committer: test@user
timestamp: 1129025483
timezone: 36000
parents:
  test@user-1
message:
  add files and directories
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
s�bazaar testament version 3 strict
revision-id: test@user-2
committer: test@user
timestamp: 1129025483
timezone: 36000
parents:
  test@user-1
message:
  add files and directories
inventory:
  directory . TREE_ROT test@user-1 no
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
sCbazaar-ng testament short form 1
revision-id: test@user-2
sha1: %s
sEbazaar-ng testament short form 2.1
revision-id: test@user-2
sha1: %s
sGbazaar testament short form 3 strict
revision-id: test@user-2
sha1: %s
s�bazaar-ng testament version 1
revision-id: test@user-3
committer: test@user
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  revision with properties
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73
  directory src src-id
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24
properties:
  branch-nick:
    test branch
  empty:
  flavor:
    sour cherry
    cream cheese
  size:
    medium
s�bazaar-ng testament version 2.1
revision-id: test@user-3
committer: test@user
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  revision with properties
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
  empty:
  flavor:
    sour cherry
    cream cheese
  size:
    medium
sbazaar testament version 3 strict
revision-id: test@user-3
committer: test@user
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  revision with properties
inventory:
  directory . TREE_ROT test@user-1 no
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
  empty:
  flavor:
    sour cherry
    cream cheese
  size:
    medium
s�bazaar-ng testament version 1
revision-id: test@user-3
committer: test@user
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  add symlink
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73
  symlink link link-id wibble/linktarget
  directory src src-id
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24
properties:
  branch-nick:
    test branch
s�bazaar-ng testament version 2.1
revision-id: test@user-3
committer: test@user
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  add symlink
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  symlink link link-id wibble/linktarget test@user-3 no
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
s�bazaar testament version 3 strict
revision-id: test@user-3
committer: test@user
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  add symlink
inventory:
  directory . TREE_ROT test@user-1 no
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  symlink link link-id wibble/linktarget test@user-3 no
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
u�bazaar-ng testament version 1
revision-id: test@user-3
committer: Erik Bågfors <test@user>
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  non-ascii commit © me
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73
  directory src src-id
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24
properties:
  branch-nick:
    test branch
  uni:
    µ
u�bazaar-ng testament version 2.1
revision-id: test@user-3
committer: Erik Bågfors <test@user>
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  non-ascii commit © me
inventory:
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
  uni:
    µ
u�bazaar testament version 3 strict
revision-id: test@user-3
committer: Erik Bågfors <test@user>
timestamp: 1129025493
timezone: 36000
parents:
  test@user-2
message:
  non-ascii commit © me
inventory:
  directory . TREE_ROT test@user-1 no
  file hello hello-id 34dd0ac19a24bf80c4d33b5c8960196e8d8d1f73 test@user-2 yes
  directory src src-id test@user-2 no
  file src/foo.c foo.c-id a2a049c20f908ae31b231d98779eb63c66448f24 test@user-2 no
properties:
  branch-nick:
    test branch
  uni:
    µ
)rWrXrdrermr}r�)'�__doc__rp�breezyr�breezy.bzr.testamentrrr�breezy.testsr�breezy.tests.featuresrr
r;r�r��REV_1_TESTAMENT�REV_1_STRICT_TESTAMENT�REV_1_STRICT_TESTAMENT3�
sha_string�REV_1_SHORT�REV_1_SHORT_STRICT�REV_1_SHORT_STRICT3�REV_2_TESTAMENT�REV_2_STRICT_TESTAMENT�REV_2_STRICT_TESTAMENT3�REV_2_SHORT�REV_2_SHORT_STRICT�REV_2_SHORT_STRICT3�REV_PROPS_TESTAMENT�REV_PROPS_TESTAMENT_STRICT�REV_PROPS_TESTAMENT_STRICT3�REV_3_TESTAMENT�REV_3_TESTAMENT_STRICT�REV_3_TESTAMENT_STRICT3�SAMPLE_UNICODE_TESTAMENT�SAMPLE_UNICODE_TESTAMENT_STRICT� SAMPLE_UNICODE_TESTAMENT_STRICT3rCr�r3r1�<module>r�s���"'�
��M�M�.�0�"
�*�"
�Jc)�^�c)�L�>��
 �N� �

�� 
�� ��"�����)�	*������/�0�	1������0�1�	2����(��(��*�����)�	*������/�0�	1������0�1�	2����4��4��6��*��*��,��,#��,$� �0� �"� �"� �(�2���'�)�'�)�'�/�9���(�*�(�*�(�0�:��'	�r3

Youez - 2016 - github.com/yon3zu
LinuXploit