관리-도구
편집 파일: test_searchengine.cpython-36.opt-1.pyc
3 � f- � @ s d Z ddlmZ ddlZddlmZmZmZ ddl j Zddlm Z mZ ddlmZ ddlZdd� Zd d � ZG dd� d�ZG d d� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zedk�rejdd� dS )z Test searchengine, coverage 99%.� )�searchengineN)� BooleanVar� StringVar�TclError)�Var�Mbox)�Textc C s t t_t t_tt_d S )N)r �ser r r �tkMessageBox� r r �H/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_searchengine.py�setUpModule s r c C s t t_ tt_tt_d S )N)r r r r r r r r �tearDownModule s r c @ s e Zd Zdd� ZdS )�Mockc O s d S )Nr )�self�args�kwargsr r r �__init__ s z Mock.__init__N)�__name__� __module__�__qualname__r r r r r r s r c @ s e Zd Zdd� ZdS )�GetTestc C s\ t j}tt _zBt� }t j|�}| j|t j� | j|j|� | jt j|�|� W d |t _X d S )N)r �SearchEnginer �getZassertIsInstanceZassertIsZ _searchengine)r Zsaved_Engine�root�enginer r r �test_get$ s zGetTest.test_getN)r r r r r r r r r "