HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/samba/tests/__pycache__/tdb_util.cpython-310.pyc
o

�/a�@sDddlZddlmZmZddlmZddlZGdd�dejj�Z	dS)�N)�ldb�Ldb)�tdb_copycs$eZdZ�fdd�Zdd�Z�ZS)�TDBUtilTestscstt|���dS)N)�superr�setUp)�self��	__class__��6/usr/lib/python3/dist-packages/samba/tests/tdb_util.pyrszTDBUtilTests.setUpcCs�tj�|jd�}tj�|jd�}t|�}|�ddd��|�t||��t|�}|�|j	t
�|d�dd�|j	t
�|d�dd��~~t�|�t�|�dS)Nz
source.ldbzdestination.ldbzf=dc�bla)�dn�br)�basedn�	attribute)
�os�path�join�tempdirr�add�assertIsNoner�assertEqual�	searchoner�Dn�unlink)r�src_ldb_file�dst_ldb_file�src_ldb�dst_ldbrrr�
test_tdb_copys�
zTDBUtilTests.test_tdb_copy)�__name__�
__module__�__qualname__rr �
__classcell__rrr	rrsr)
�samba.tests�sambarr�samba.tdb_utilrr�tests�TestCaseInTempDirrrrrr�<module>s