관리-도구
편집 파일: test_editor.cpython-36.opt-2.pyc
3 ��2au � @ sn d dl mZ d dlZd dlmZ d dlmZ ejZG dd� dej �Z G dd� dej �Zed krjej d d� dS )� )�editorN)�requires)�Tkc @ s, e Zd Zedd� �Zedd� �Zdd� ZdS )�EditorWindowTestc C s t d� t� | _| jj� d S )NZgui)r r �rootZwithdraw)�cls� r �0/opt/alt/python36/lib64/python3.6/test_editor.py� setUpClass s zEditorWindowTest.setUpClassc C sB | j j� x$| j jjdd�D ]}| j j|� qW | j j� | ` d S )N�after�info)r Zupdate_idletasksZtkZcallZafter_cancelZdestroy)r �idr r r � tearDownClass s zEditorWindowTest.tearDownClassc C s( t | jd�}| j|j| j� |j� d S )N)r )�Editorr �assertEqualZ_close)�self�er r r � test_init s zEditorWindowTest.test_initN)�__name__� __module__�__qualname__�classmethodr r r r r r r r s r c @ s e Zd Zdd� ZdS )�EditorFunctionTestc C s@ t j}G dd� d�}d}x"|D ]\}}| j|||�|� qW d S ) Nc @ s e Zd ZdZdS )z:EditorFunctionTest.test_filename_to_unicode.<locals>.dummyzutf-8N)r r r Zfilesystemencodingr r r r �dummy% s r �abc� a𑄑c� a�c� abc� a𑄑c�r r �r r �r r �r r )r r r! r"