관리-도구
편집 파일: test_searchengine.cpython-36.opt-2.pyc
3 ��2a- � @ s d dl mZ d dlZd dlmZmZmZ d dlj Z d dlmZm Z d dlmZ d dlZdd� Zdd � ZG d d� d�ZG dd � d ej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zedk�rejdd� dS )� )�searchengineN)� BooleanVar� StringVar�TclError)�Var�Mbox)�Textc C s t t_t t_tt_d S )N)r �ser r r �tkMessageBox� r r �6/opt/alt/python36/lib64/python3.6/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 "