+
    +Ki                         R t ^ RIt^ RIt^ RIt^ RItRt. tRs ! R R]P                  4      t	]P                  ]	4       RR ltR# )z+
Test suite for cracklib's Python binding.
Nz2.8.19c                   b   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tRtV tR# )TestModuleFunctionsc                    \         P                  ! R \        R7       V P                  R4        \         P                  ! R\        R7       R#   \         d     L,i ; i  \         d    T P                  R4        R# i ; i)testdictpathexpected ValueErrorLhIRI6JXpKhUqBjTzpassword should be good enoughN)cracklibVeryFascistCheckr   fail
ValueError)selfs   &2/usr/lib/python3.14/site-packages/test_cracklib.pytest_VeryFascistCheck)TestModuleFunctions.test_VeryFascistCheck   sk    	%%fx@II+,	8%%&88L  		  	8II67	8s"   -A A AAA?>A?c                     \         P                  ! R \        R7       V P                  R4       R#   \         d<    \
        P                  ! 4       ^,          pT P                  R\        T4      4        R# i ; i)zot23#xyx#32tor   r   zis a palindromeN	r
   r   r   r   r   sysexc_infoassertEqualstrr   es   & r   test_palindrome#TestModuleFunctions.test_palindrome   sX    	8%%oIII+, 	8q!A.A7	8   -1 AA76A7c                     \         P                  ! R R \        R7       V P                  R4       R#   \         d<    \
        P                  ! 4       ^,          pT P                  R\        T4      4        R# i ; i)r   r   r   zis the same as the old oneNr   r   s   & r   	test_sameTestModuleFunctions.test_same%   s]    	C%%ffxHII+, 	Cq!A93q6B	C   .2 AA87A8c                     \         P                  ! R R\        R7       V P                  R4       R#   \         d<    \
        P                  ! 4       ^,          pT P                  R\        T4      4        R# i ; i)r   TeStr   r   zcase changes onlyNr   r   s   & r   test_case_change$TestModuleFunctions.test_case_change-   sZ    	:%%ffxHII+, 	:q!A0#a&9	:r    c                     \         P                  ! R R\        R7       V P                  R4       R#   \         d<    \
        P                  ! 4       ^,          pT P                  R\        T4      4        R# i ; i)test12test34r   r   zis too similar to the old oneNr   r   s   & r   test_similar TestModuleFunctions.test_similar5   s]    	F%%h8LII+, 	Fq!A<c!fE	Fr    c                     \         P                  ! R \        R7       V P                  R4       R#   \         d<    \
        P                  ! 4       ^,          pT P                  R\        T4      4        R# i ; i)t3sx24r   r   zis too simpleNr   r   s   & r   test_simpleTestModuleFunctions.test_simple=   sW    	6%%hBII+, 	6q!A_c!f5	6r   c                   \        \        P                  \        P                  ,
          4       Uu. uF  pR V,          NK  	  up F9  pV P	                  ^\        P
                  ! V4      RP                  V4      4       K;  	  V P	                  ^ \        P
                  ! R \        P                  \        P                  ,
          ,          4      4       R# u upi )t-password {0} should be detected as too simpleN)ranger
   
MIN_LENGTH
LOW_CREDITr   simpleformatr   ipasswds   &  r   test_simple_lower%TestModuleFunctions.test_simple_lowerE       (-("5"55)7 8 )71sQww )7 8F8??6*?FF8 	HOO8&&)<)<<=? 	@8   Cc                   \        \        P                  \        P                  ,
          4       Uu. uF  pR V,          NK  	  up F9  pV P	                  ^\        P
                  ! V4      RP                  V4      4       K;  	  V P	                  ^ \        P
                  ! R \        P                  \        P                  ,
          ,          4      4       R# u upi )Tr0   N)r1   r
   r2   	UP_CREDITr   r4   r5   r6   s   &  r   test_simple_upper%TestModuleFunctions.test_simple_upperO   s    (-("4"44)6 7 )61sQww )6 7F8??6*?FF7 	HOO8&&););;<> 	?7r<   c                   \        \        P                  \        P                  ,
          4       Uu. uF  pR V,          NK  	  up F9  pV P	                  ^\        P
                  ! V4      RP                  V4      4       K;  	  V P	                  ^ \        P
                  ! R \        P                  \        P                  ,
          ,          4      4       R# u upi )1r0   N)r1   r
   r2   
DIG_CREDITr   r4   r5   r6   s   &  r   test_simple_digit%TestModuleFunctions.test_simple_digitY   r;   r<   c                   \        \        P                  \        P                  ,
          4       Uu. uF  pR V,          NK  	  up F9  pV P	                  ^\        P
                  ! V4      RP                  V4      4       K;  	  V P	                  ^ \        P
                  ! R \        P                  \        P                  ,
          ,          4      4       R# u upi )#r0   N)r1   r
   r2   
OTH_CREDITr   r4   r5   r6   s   &  r   test_simple_other%TestModuleFunctions.test_simple_otherc   r;   r<   c           	     2   R \         P                  ^,          ,          p\        \         P                  \         P                  ,
          \         P                  ,
          4       Uu. uF  q!RV NK	  	  up F9  pV P                  ^\         P                  ! V4      RP                  V4      4       K;  	  V P                  ^ \         P                  ! VR\         P                  \         P                  ,
          \         P                  ,
           4      4       R# u upi )z#aNr0   )r
   r2   r1   r3   rI   r   r4   r5   )r   testsetr7   r8   s   &   r   test_simple_combinations,TestModuleFunctions.test_simple_combinationsm   s    (--23,1("5"558K8KK-M N -Mqr{ -M NF8??6*?FFN 	HOO %h))H,?,??##$ &' 	(Ns   $D N)__name__
__module____qualname____firstlineno__r   r   r   r#   r(   r,   r9   r@   rE   rJ   rN   __static_attributes____classdictcell__)__classdict__s   @r   r   r      sF     	88C:F6@?@@
( 
(    r   c                    \        R \        P                  P                  \        4      ,           4       \        R\
        ,           4       \        \        P                  4       Vs\        P                  ! 4       p\         FJ  p\        V4       F8  p\        P                  ! 4       pVP                  VP                  V4      4       K:  	  KL  	  \        P                   ! V R7      pVP#                  V4      # )zcracklib is installed in: zcracklib version: )	verbosity)printospathdirname__file____version__r   versionr   unittest	TestSuitetestsr1   
TestLoaderaddTestloadTestsFromTestCaseTextTestRunnerrun)rZ   repeatuse_dictpathsuitecls_loaderrunners   &&&     r   ri   ri   }   s    	'"''//(*CCE	+-/	3;;H EvA((*FMM&66s;<   $$y9F::erX   )   rq   N)__doc__r\   r   rb   r
   r`   rd   r   TestCaser   appendri   rP   rX   r   <module>ru      sP    
 
  
f((++ f(R   !rX   