+
    y¥jÊ  ã                   ó2   € ^ RI Ht ^ RItR tR tR tR tR# )é    )ÚPathNc                  óÐ   € ^ RI Hp  V ! R4      R8X  g   Q hR F6  p\        P                  ! \        4      ;_uu_ 4        V ! V4       RRR4       K8  	  R#   + '       g   i     KM  ; i)r   )Úvalidate_nikÚ8271010101010001N)Ú Ú827101010101001Ú82710101010100011z8271-0101-0101-0001u0   ï¼‘ï¼’ï¼“ï¼”ï¼•ï¼–ï¼—ï¼˜ï¼™ï¼�ï¼‘ï¼’ï¼“ï¼”ï¼•ï¼–)Úapp.core.customer_identityr   ÚpytestÚraisesÚ
ValueError)r   Úinvalids     Útests\test_customer_identity.pyÚ)test_nik_requires_exactly_16_ascii_digitsr      sQ   € Ý7áÐ*Ó+Ð/AÔAÐAÐAó KˆÜ�]Š]œ:×&Õ&Ù˜Ô!÷ 'Ñ&ó Kß&×&Ð&ús   ½	AÁA%c                  óV   € ^ RI Hp Hp V ! ^*4      pVR8X  g   Q hV! V4      V8X  g   Q hR# )r   )Úcustomer_code_forÚdefault_pppoe_usernameúPLG-0000042N)r
   r   r   )r   r   Úcodes      r   ÚMtest_customer_code_and_default_pppoe_username_are_permanent_and_deterministicr      s0   € ßTá˜RÓ €DØ�=Ô Ð Ð Ù! $Ó'¨4Ô/Ð/Ò/ó    c                  óL  € \        \        4      P                  ^,          R,          R,          p R F"  pRW,          P                  RR7      9  d   K"  Q h	  V R,          P                  RR7      pRV9   g   Q hRV9   g   Q hV R	,          P                  RR7      pR
V9   g   Q hR# )é   ÚappÚ	templatesÚpppoe_passwordzutf-8)Úencodingzadd_customer.htmlz
name="nik"zpattern="[0-9]{16}"zcredential_notice.htmlzJangan screenshotN)zcustomers.htmlzcustomer_detail.html)r   Ú__file__ÚparentsÚ	read_text)ÚrootÚnameÚadd_formÚcredential_pages       r   ÚCtest_customer_identity_ui_does_not_render_password_in_general_viewsr%      s¤   € Ü”‹>×!Ñ! !Õ$ uÕ,¨{Õ:€DÛ:ˆØ¨­×'>Ñ'>ÈÐ'>Ó'PÖPÐPÐPñ ;àÐ*Õ*×5Ñ5¸wÐ5ÓG€HØ˜8Ô#Ð#Ð#Ø  HÔ,Ð,Ð,ØÐ6Õ6×AÑAÈ7ÐAÓS€OØ /Ô1Ð1Ò1r   c                 ó¾   € ^ RI Hp V P                  RVP                  4       P	                  4       4       ^ RIHpHp V! R4      pVR8w  g   Q hV! V4      R8X  g   Q hR# )r   )ÚFernetÚBESTWEB_SECRET_KEY)Úencrypt_default_pppoe_passwordÚdecrypt_pppoe_passwordr   N)Úcryptography.fernetr'   ÚsetenvÚgenerate_keyÚdecoder
   r)   r*   )Úmonkeypatchr'   r)   r*   Ú	encrypteds   &    r   Ú:test_password_secret_round_trip_is_not_stored_as_plaintextr1   !   sV   € Ý*Ø×ÑÐ+¨V×-@Ñ-@Ó-B×-IÑ-IÓ-KÔLßaá.¨}Ó=€IØ˜Ô%Ð%Ð%Ù! )Ó,°Ô=Ð=Ò=r   )Úpathlibr   r   r   r   r%   r1   © r   r   Ú<module>r4      s   ðÝ Û ò"ò0ò2ô>r   