File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_searchengine.cpython-311.opt-1.pyc
�
��Vc�. � �� � d Z ddlmZ ddlZddlmZmZmZ ddlm Z ddl
mZmZ ddl
m
Z ddlZd� Zd � Z G d
� d� � Z G d� d
ej � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Zedk r ej d�� � dS dS )z Test searchengine, coverage 99%.� )�searchengineN)�
BooleanVar� StringVar�TclError)�
messagebox)�Var�Mbox)�Textc �l � t t _ t t _ t t _ d S �N)r �ser r r r � � �7D:\Python311\Lib\idlelib\idle_test\test_searchengine.py�setUpModuler s � ��B�M��B�L��B�M�M�Mr c �l � t t _ t t _ t t _ d S r )r r
r r r r r �tearDownModuler s � ��B�M��B�L��B�M�M�Mr c � � e Zd Zd� ZdS )�Mockc � � d S r r )�self�args�kwargss r �__init__z
Mock.__init__ s � � � r N)�__name__�
__module__�__qualname__r r r r r r s � � � � � �-�-�-�-�-r r c � � e Zd Zd� ZdS )�GetTestc � � t j }t t _ t � � }t j |� � }| � |t j � � | � |j |� � | � t j |� � |� � |t _ d S # |t _ w xY wr )r
�SearchEnginer �get�assertIsInstance�assertIs�
_searchengine)r �saved_Engine�root�engines r �test_getzGetTest.test_get$ s� � ������� +��6�6�D��V�D�\�\�F��!�!�&�"�/�:�:�:��M�M�$�,�f�5�5�5��M�M�"�&��,�,��/�/�/�*�B�O�O�O��l�B�O�*�*�*�*s �BB2 �2C N)r r r r) r r r r r "