
    b9                     N    d dl Zd dlZd dlZ G d dej        j                  ZdS )    Nc                       e Zd Zd ZdS )PamChauthtokTestsc                    t           j        d         }t           j        d         }t           j        d         }t           j        d         }|dk    r|d|}nd|z  }d}t          j        t          j        |          }	 t          j        |d	|g|||g          }n3# t          j        $ r!}	t          t          |	                    d }	~	ww xY w| 	                    |d u           d S )
NDOMAINUSERNAMEPASSWORDNEWPASSWORD /z%sr   samba)
osenviron	pypamtestTestCasePAMTEST_CHAUTHTOKrun_pamtestPamTestErrorAssertionErrorstr
assertTrue)
selfdomainusernamepasswordnewpasswordunix_usernameexpected_rctcreses
             C/usr/lib/python3/dist-packages/samba/tests/pam_winbind_chauthtok.pytest_chauthtokz PamChauthtokTests.test_chauthtok   s    H%:j):j)j/R<<'-vvxx8MM 8OM	 ;[II	)'wxQ\^iFjkkCC% 	) 	) 	) Q(((	) 	4(((((s   >B C
)CC
N)__name__
__module____qualname__r"        r!   r   r      s#        ) ) ) ) )r'   r   )samba.testsr   r   r   testsr   r   r&   r'   r!   <module>r*      sa   (         				) ) ) ) ), ) ) ) ) )r'   