a
    õ£Bes  ã                   @   s(   d dl mZ d dlZG dd„ deƒZdS )é    )ÚTestCaseNc                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚTestIncludesc                 C   sv   ddl m} t ¡ }t|tƒs"J ‚t|ƒdks2J ‚|d }t|tƒsHJ ‚|d }t|tƒs^J ‚||ƒ}|dksrJ ‚d S )Nr   ©Úbasenameé   é   Úutils)Úos.pathr   ÚzmqZget_includesÚ
isinstanceÚlistÚlenÚstr)Úselfr   ZincludesÚparentZutilsdirr   © r   úZ/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/zmq/tests/test_includes.pyÚtest_get_includes   s    zTestIncludes.test_get_includesc                 C   s`   ddl m} t ¡ }t|tƒs"J ‚t|ƒdks2J ‚|d }t|tƒsHJ ‚||ƒ}|dks\J ‚d S )Nr   r   r   r
   )r	   r   r
   Zget_library_dirsr   r   r   r   )r   r   Úlibdirsr   Úlibdirr   r   r   Útest_get_library_dirs   s    z"TestIncludes.test_get_library_dirsN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   
   s   r   )Zunittestr   r
   r   r   r   r   r   Ú<module>   s   