ó
‹²,]c           @   sM   d  Z  d d l Z d d l Z d d l m Z e j d „  ƒ Z d „  Z d S(   s   
Tests for manager.py
iÿÿÿÿN(   t   IntrospectionManagerc          C   s   t  ƒ  }  |  S(   s&   Create a basic instrospection manager.(   R    (   t   introspector(    (    sL   lib/python2.7/site-packages/spyder/utils/introspection/tests/test_manager.pyt   introspector_manager   s    	c         C   sğ   |  } d g } t  | j ƒ t  t j ƒ k s3 t ‚ | j | ƒ t  t j ƒ j t  | j ƒ ƒ sg t ‚ t  | ƒ j t  | j ƒ ƒ s‹ t ‚ | j g  ƒ | j GHt  t j ƒ j t  | j ƒ ƒ sÇ t ‚ t  | ƒ j t  | j ƒ ƒ sì t ‚ d S(   sa   Test adding of extra path.

    Extra path is used for adding spyder_path to plugin clients.
    s   /some/dummy/pathN(   t   sett   sys_patht   syst   patht   AssertionErrort   change_extra_patht   issubset(   R   R   t
   extra_path(    (    sL   lib/python2.7/site-packages/spyder/utils/introspection/tests/test_manager.pyt$   test_introspector_manager_extra_path   s    	$'$'(   t   __doc__R   t   pytestt"   spyder.utils.introspection.managerR    t   fixtureR   R   (    (    (    sL   lib/python2.7/site-packages/spyder/utils/introspection/tests/test_manager.pyt   <module>   s
   