Your IP : 3.140.188.195
3
� f� � @ s� d Z ddlmZ ddlZddlmZ ddlZddlmZ ddl
mZ ddlm
Z
dZdZG d d
� d
ej�ZG dd� d�ZG d
d� dej�Zedkr�ejddd� dS )z Test history, coverage 100%.� )�HistoryN)�requires)�Text)�idleConfza = 7zb = ac @ sD e Zd ZdZedd� �Zdd� Zdd� Zdd � Zd
d� Z dd
� Z
dS )� StoreTestz7Tests History.__init__ and History.store with mock Textc C s t � | _t| j�| _d S )N)�mkText�textr �history)�cls� r �C/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_history.py�
setUpClass s zStoreTest.setUpClassc C s | j jdd� g | j_d S )Nz1.0�end)r �deleter )�selfr r r �tearDown s zStoreTest.tearDownc C s` | j | jj| j� | j| jjg � | j| jj� | j| jj� | j| jjtj ddddd�� d S )N�mainr �cyclic� �bool)
ZassertIsr r �assertEqual�assertIsNone�prefix�pointerr r Z GetOption)r r r r � test_init s
zStoreTest.test_initc C s<