| Server IP : 121.121.20.254 / Your IP : 216.73.217.141 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/idlelib/idle_test/__pycache__/ |
Upload File : |
�
���g�. � �� � 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 � � �8C:\Python312\\Lib\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 "