관리-도구
편집 파일: test_pathbrowser.cpython-34.pyo
� e fr � @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z Gd d � d e j � Z e d k r~ e j d d d d � n d S) � N)�PathBrowserc @ s( e Z d Z d d � Z d d � Z d S)�PathBrowserTestc C s� t j d � } | j � | j d | j � � t j j t j j t j � � d } | j | j | � d � | j | j | d � d � d S)N� r Tz/IconsF)r �DirBrowserTreeItem� GetSubList�assertEqual�GetText�os�path�split�abspath�idlelib�__file__Zispackagedir)�self�d�dir� r �G/opt/alt/python34/lib64/python3.4/idlelib/idle_test/test_pathbrowser.py�test_DirBrowserTreeItem s %z'PathBrowserTest.test_DirBrowserTreeItemc C sn t j � } | j | j � d � | j � } | j t | � t t j � � | j t | d � t j � d S)Nzsys.pathr ) r ZPathBrowserTreeItemr r r �len�sysr �typer )r �p�subr r r �test_PathBrowserTreeItem s z(PathBrowserTest.test_PathBrowserTreeItemN)�__name__� __module__�__qualname__r r r r r r r s r �__main__� verbosity� �exitF) Zunittestr r r r ZTestCaser r �mainr r r r �<module> s