Mini Shell
a
�DOg�� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
mZmZ ddl
mZ ddlmZmZ dd� ee�D �Zd ZeZd
d� Zdd
� Zdd� Zdd� Zdd� Zdd� Zd�dd�Zdd� Zdd� Zdd� Z dd � Z!d�d!d"�Z"d#d$� Z#d%d&� Z$d'd(� Z%G d)d*� d*e&�Z'G d+d,� d,e&�Z(e(� Z)e)j*Z*e)j+Z,e)j-Z.h d-�Z/d.d/� Z0G d0d1� d1e1�Z2d2d3� Z3G d4d5� d5e&�Z4G d6d7� d7e&�Z5G d8d9� d9e5�Z6e�7e6j8�Z9G d:d;� d;e1�Z:d<d=� Z;G d>d?� d?e5�Z<G d@dA� dAe<e6�Z=dBdC� Z>dDdE� Z?G dFdG� dGe&�Z@dHdI� ZAe*dddddfdJdK�ZBd�dLdM�ZCe*dddddfdNdO�ZDG dPdQ� dQe&�ZEdRdS� ZFdTdU� ZGeBeD_&eEeD_HeCeD_IeGeD_JdVeD_KdWZLdXZMdY�NdZd[� eM�O� D ��ZPdY�Nd\d[� eM�O� D ��ZQh d]�ZRd^d_� ZSd`d� dY�NeLeMePeQg��O� D �ZTh da�ZUdbhZVeUeVB ZWeTeRB ZXeXeWB ZYh dc�ZZddde� dfde� dgde� dhde� di�Z[e\e\e\e\djddddkdld djddm�
Z]dndo� Z^dpdq� Z_drds� Z`dtdu� Zae^e_e`eadv�Zbdwdx� ZcG dydz� dze5�ZdG d{d|� d|ede6�ZeG d}d~� d~ed�ZfG dd�� d�ede=�ZgG d�d�� d�e5�ZhG d�d�� d�e5�ZiG d�d�� d�eiefe=�ZjG d�d�� d�e&�Zkek� Zld�d�� ZmG d�d�� d�en�Zoeodd��Zpd�d�d��Zqd�d�� ZrG d�d�� d�e&�Zseteq�etelju�fZvdawd�d�� Zxd�d�d��ZyG d�d�� d�e=�Zzd�d�� Z{G d�d�� d��Z|dS )�)�Mock� MagicMock�patch�sentinel�DEFAULT�ANY�call�create_autospec� AsyncMock�
FILTER_DIR�NonCallableMock�NonCallableMagicMock� mock_open�PropertyMock�seal� N)�iscoroutinefunction)�CodeType�
ModuleType�
MethodType)� safe_repr)�wraps�partialc C s h | ]}|� d �s|�qS ��_��
startswith)�.0�name� r �%/usr/lib64/python3.9/unittest/mock.py� <setcomp>'