관리-도구
편집 파일: test_compare.cpython-311.pyc
� �܋ft � � � d dl mZ d dlZd dlmZ d dlmZmZ ddlm Z d dl mZ dd lm Z d dlmZ d dlmZ G d� d e e� � ZdS )� )�TestCaseN)�User)� OutputCapture�Replacer� )�SampleModel)�main� )� CompareHelper� )�comparec �h � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z ej j d � � � Zd S )�CompareTestsc �^ � t t d�� � t d�� � � � d S )Nr ��id��django_comparer ��selfs �|/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/testfixtures/tests/test_django/test_compare.py�test_simple_samezCompareTests.test_simple_same s. � ��{�a�(�(�(�+��*;�*;�*;�<�<�<�<�<� c �z � | � t d�� � t d�� � t d�� � d S )Nr r r zJSampleModel not as expected: same: ['value'] values differ: 'id': 1 != 2�r �message��check_raisesr r r s r �test_simple_diffzCompareTests.test_simple_diff sL � �����1����{�a�0�0�0�"�� � � � � � r c �d � t t d�� � t d�� � dg�� � d S )Nr r r )� ignore_fieldsr r s r �test_simple_ignore_fieldsz&CompareTests.test_simple_ignore_fields"