관리-도구
편집 파일: test_log_capture.cpython-311.pyc
� �܋f� � � � d dl mZmZ d dlmZ d dlmZ d dlmZ d dl m Z mZmZ mZ e� � Z ed� � Z ed� � Z ed� � Z G d � d e� � Z G d� de� � Z G d � de� � ZdS )� )� getLogger�ERROR)�TestCase)�ShouldAssert)�patch)�log_capture�compare� Comparison� LogCapture�one�two� one.childc � � e Zd Z edd� � ed� � e� � d� � � � � � � Z ee�� � d� � � Zd� Z e� � d� � � Zd � Z d � Z d� Zd� Zd � Z d� Zd� Zd� Zd� Zd� Z e� � ed� � d� � � � � Z ed� � e� � d� � � � � ZdS )�TestLog_Capturer r r c � � t � d� � t � d� � t � d� � t � d� � |� dddd� � |� dd� � |� dd� � t |j t d � � t d � � g� � d S ) N�1�2�3�4��root�INFOr )r r r )r r r )r r r zlogging.LogRecord) r �infor r �child�checkr �records�C)�self�l1�l2�l3s �t/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/testfixtures/tests/test_log_capture.py�test_loggingzTestLog_Capture.test_logging s� � � � � �#�������� � � ����� � � � � � �3���� ���!� � �&� � � � ��� �&� � � � ��� �&� � � � �� � �!�"�"� �!�"�"�� � � � � � )�ensure_checks_abovec �d � t � d� � |� d� � d S )N�during)r r r'