
    b|                     .    d dl mZ  G d de          ZdS )    )TestCasec                   .     e Zd Z fdZ fdZd Z xZS )PyImportsTestCasec                 H    t                                                       d S N)supersetUpself	__class__s    5/usr/lib/python3/dist-packages/samba/tests/imports.pyr	   zPyImportsTestCase.setUp   s        c                 H    t                                                       d S r   )r   tearDownr
   s    r   r   zPyImportsTestCase.tearDown   s    r   c                     	 ddl m}m} ddl m} d S # t          $ r0}|                     dt          |          z             Y d }~d S d }~ww xY w)Nr   )dsdbdsdb_dns)samdbz%Failed to import samdb from samba: %s)sambar   r   r   ImportErrorfailstr)r   r   r   r   es        r   test_samdb_importz#PyImportsTestCase.test_samdb_import   s    	H,,,,,,,,######## 	H 	H 	HII=AFGGGGGGGGG	Hs    
A%AA)__name__
__module____qualname__r	   r   r   __classcell__)r   s   @r   r   r      sg                H H H H H H Hr   r   N)samba.testsr   r    r   r   <module>r!      sW   " !          H H H H H H H H H Hr   