관리-도구
편집 파일: test_mock.cpython-311.pyc
� �܋f� � �^ � d dl mZmZmZ ddlmZ G d� de� � Z G d� de� � ZdS ) � )�Mock�call�ANY� )� CompareHelperc �J � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � ZdS )�TestCallc � � | � t j � � � � � t j � � � � � d� � d S )N�) 'call.foo().bar()' != 'call.baz().bar()'��check_raisesr �foo�bar�baz��selfs �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/testfixtures/tests/test_mock.py�test_non_root_call_not_equalz%TestCall.test_non_root_call_not_equal sO � �����H�J�J�N�N����H�J�J�N�N��� !� � � � � � c � � | � t j � � � t j � � � d� � d S )N�% 'call.foo.bar()' != 'call.baz.bar()'r r s r �test_non_root_attr_not_equalz%TestCall.test_non_root_attr_not_equal sC � �����H�L�L�N�N��H�L�L�N�N� � � � � � r c �� � | � t j d�� � � � � t j d�� � � � � d� � d S )Nr ��x� z# 'call.foo(x=1)' != 'call.foo(x=2)')r r r r r s r �test_non_root_params_not_equalz'TestCall.test_non_root_params_not_equal s[ � �����H�q�M�M�M������H�q�M�M�M����� � � � � � r c �* � t t k sJ �d S �N)r r r s r �test_anyzTestCall.test_any% s � ��s�{�{�{�{�{�{r c �8 � t t � � k rJ �d S r )r �objectr s r �test_no_lenzTestCall.test_no_len( s � ��6�8�8�#�#�#�#�#�#r c �\ � t � � } |d�� � |j dddifk sJ �d S )Nr r � r )r � call_args�r �ms r �test_two_elementszTestCall.test_two_elements+ s; � ��F�F�� ��A������{�r�C��8�n�,�,�,�,�,�,r c � � t dk sJ �d S )Nr% �r r s r �test_other_emptyzTestCall.test_other_empty0 s � ��r�z�z�z�z�z�zr c �V � t dk sJ �t i fk sJ �t dk sJ �d S )N)r% )� r+ r s r �test_other_singlezTestCall.test_other_single3 s/ � ��u�}�}�}�}���u�}�}�}�}��u�}�}�}�}�}�}r c �>