o
    ¹is  ã                   @   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sJ ‚|d }t|tƒs$J ‚|d }t|tƒs/J ‚||ƒ}|dks9J ‚d S )Nr   ©Úbasenameé   é   Úutils)Úos.pathr   ÚzmqÚget_includesÚ
isinstanceÚlistÚlenÚstr)Úselfr   ÚincludesÚparentÚutilsdirr   © r   úR/var/www/edux/Edux_v2/venv/lib/python3.10/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sJ ‚|d }t|tƒs$J ‚||ƒ}|dks.J ‚d S )Nr   r   r   r
   )r	   r   r
   Ú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   )Úunittestr   r
   r   r   r   r   r   Ú<module>   s   