관리-도구
편집 파일: test_mainmenu.cpython-36.pyc
3 � fR � @ sB d Z ddlmZ ddlZG dd� dej�Zedkr>ejdd� dS ) zTest mainmenu, coverage 100%.� )�mainmenuNc @ s e Zd Zdd� Zdd� ZdS )�MainMenuTestc C s6 dd� t jD �}ddddddd d dg }| j||� d S )Nc S s g | ]}|d �qS )r � )�.0�itemr r �D/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_mainmenu.py� <listcomp> s z.MainMenuTest.test_menudefs.<locals>.<listcomp>�fileZedit�formatZrun�shell�debugZoptionsZwindow�help)r ZmenudefsZassertEqual)�selfZactualZexpectr r r � test_menudefs s zMainMenuTest.test_menudefsc C s | j ttj�d� d S )N�2 )ZassertGreaterEqual�lenr Zdefault_keydefs)r r r r �test_default_keydefs s z!MainMenuTest.test_default_keydefsN)�__name__� __module__�__qualname__r r r r r r r s r �__main__� )� verbosity)�__doc__Zidlelibr ZunittestZTestCaser r �mainr r r r �<module> s