Sindbad~EG File Manager
�
&ΜgD- � �� � d dl mZ d dlZd dlmZmZmZ d dlmZ d dl m
Z
mZ d dl mZ
d dlZd� Zd� Z G d � d
� Z G d� dej$ � 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 ej6 d�� yy)� )�searchengineN)�
BooleanVar� StringVar�TclError)�
messagebox)�Var�Mbox)�Textc �^ � t t _ t t _ t t _ y �N)r �ser r r r � � �@/usr/local/lib/python3.12/idlelib/idle_test/test_searchengine.py�setUpModuler s � ��B�M��B�L��B�Mr c �^ � t t _ t t _ t t _ y r )r r
r r r r r �tearDownModuler s � ��B�M��B�L��B�Mr c � � e Zd Zd� Zy)�Mockc � � y 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� Zy)�GetTestc �z � t j }t t _ t � }t j |� }| j |t j � | j |j |� | j t j |� |� |t _ y # |t _ w xY wr )r
�SearchEnginer �get�assertIsInstance�assertIs�
_searchengine)r �saved_Engine�root�engines r �test_getzGetTest.test_get$ sx � �������� +��6�D��V�V�D�\�F��!�!�&�"�/�/�:��M�M�$�,�,�f�5��M�M�"�&�&��,��/�*�B�O��l�B�O�s �B B- �-
B:N)r r r r) r r r r r "