File: //lib/python3/dist-packages/samba/tests/__pycache__/password_test.cpython-310.pyc
o
�/a� � @ s. d dl ZG dd� d�ZG dd� dejj�ZdS )� Nc @ s e Zd Zedd� �ZdS )�PasswordCommonc C sD |� � }| �|j|� |�d� |�� }| �|j|� |�d� dS )�@Updates the DC to allow password changes during the current test� 000000001�0N)�get_dsheuristics�
addCleanup�set_dsheuristics�
get_minPwdAge�
set_minPwdAge)�testcase�samdb�dsheuristics� minPwdAge� r �;/usr/lib/python3/dist-packages/samba/tests/password_test.py�allow_password_changes s
z%PasswordCommon.allow_password_changesN)�__name__�
__module__�__qualname__�staticmethodr r r r r r s r c @ s e Zd Zddd�ZdS )�PasswordTestCaseNc C s |du r| j }t�| |� dS )r N)�ldbr r )�selfr r r r r 5 s z'PasswordTestCase.allow_password_changes)N)r r r r r r r r r 1 s r )�samba.tests�sambar �tests�TestCaser r r r r �<module> s