§
    °³Ùgn  ã                   óD   — d dl mZ d dlmZ  G d„ dej        ¦  «        ZdS )é    )Úcontent)Úbasec                   ó&   — e Zd Zd„ Zd„ Zd„ Zd„ ZdS )ÚTestCommandsc                 ó0  — |                       d¦  «        \  }}}|                      dt          j        |¦  «        ¦  «         |                      dt          j        |¦  «        ¦  «         |                      d|¦  «         |                      d|¦  «         dS )zÃTest custom build_py command.

        Test that a custom subclass of the build_py command runs when listed in
        the commands [global] option, rather than the normal build command.
        Úbuild_pyÚstdoutÚstderrz Running custom build_py command.r   N©Ú	run_setupÚ	addDetailr   Útext_contentÚassertInÚassertEqual©Úselfr	   r
   Úreturn_codes       úM/granary/edev/quantum/lib/python3.11/site-packages/pbr/tests/test_commands.pyÚtest_custom_build_py_commandz)TestCommands.test_custom_build_py_command/   s‹   € ð '+§n¢n°ZÑ&@Ô&@Ñ#ˆ�˜Ø�Š�x¥Ô!5°fÑ!=Ô!=Ñ>Ô>Ð>Ø�Š�x¥Ô!5°fÑ!=Ô!=Ñ>Ô>Ð>Ø�ŠÐ8¸&ÑAÔAÐAØ×Ò˜˜KÑ(Ô(Ð(Ð(Ð(ó    c                 ó0  — |                       d¦  «        \  }}}|                      dt          j        |¦  «        ¦  «         |                      dt          j        |¦  «        ¦  «         |                      d|¦  «         |                      d|¦  «         dS )z Test custom deb_version command.Údeb_versionr	   r
   zExtracting deb versionr   Nr   r   s       r   Ú"test_custom_deb_version_py_commandz/TestCommands.test_custom_deb_version_py_command<   ó‰   € à&*§n¢n°]Ñ&CÔ&CÑ#ˆ�˜Ø�Š�x¥Ô!5°fÑ!=Ô!=Ñ>Ô>Ð>Ø�Š�x¥Ô!5°fÑ!=Ô!=Ñ>Ô>Ð>Ø�ŠÐ.°Ñ7Ô7Ð7Ø×Ò˜˜KÑ(Ô(Ð(Ð(Ð(r   c                 ó0  — |                       d¦  «        \  }}}|                      dt          j        |¦  «        ¦  «         |                      dt          j        |¦  «        ¦  «         |                      d|¦  «         |                      d|¦  «         dS )z Test custom rpm_version command.Úrpm_versionr	   r
   zExtracting rpm versionr   Nr   r   s       r   Ú"test_custom_rpm_version_py_commandz/TestCommands.test_custom_rpm_version_py_commandD   r   r   c                 ór  — |                       d¦  «        \  }}}|                      d|¦  «         g }|                     d¦  «        D ]B}|                     |                     d¦  «        d                              ¦   «         ¦  «         ŒCt          |dd…         ¦  «        }|                      ||¦  «         dS )z?Test that freeze output is sorted in a case-insensitive manner.Úfreezer   ú
z==N)Úrun_pbrr   ÚsplitÚappendÚlowerÚsorted)r   r	   r
   r   ÚpkgsÚlineÚ	pkgs_sorts          r   Útest_freeze_commandz TestCommands.test_freeze_commandL   s±   € à&*§l¢l°8Ñ&<Ô&<Ñ#ˆ�˜Ø×Ò˜˜KÑ(Ô(Ð(ØˆØ—L’L Ñ&Ô&ð 	5ð 	5ˆDØ�KŠK˜Ÿ
š
 4Ñ(Ô(¨Ô+×1Ò1Ñ3Ô3Ñ4Ô4Ð4Ð4Ý˜4   œ7‘O”Oˆ	Ø×Ò˜ DÑ)Ô)Ð)Ð)Ð)r   N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r)   © r   r   r   r   .   sP   € € € € € ð)ð )ð )ð)ð )ð )ð)ð )ð )ð*ð *ð *ð *ð *r   r   N)Ú	testtoolsr   Ú	pbr.testsr   ÚBaseTestCaser   r-   r   r   ú<module>r1      sc   ððR Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð ð&*ð &*ð &*ð &*ð &*�4Ô$ñ &*ô &*ð &*ð &*ð &*r   