File manager - Edit - /opt/imh-python/lib/python2.7/site-packages/pbr/tests/test_commands.pyc
Back
� ��Wc @ s= d d l m Z d d l m Z d e j f d � � YZ d S( i����( t content( t baset TestCommandsc B s e Z d � Z d � Z RS( c C sn | j d � \ } } } | j d t j | � � | j d t j | � � | j d | � | j | d � d S( s� 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. t build_pyt stdoutt stderrs Running custom build_py command.i N( t run_setupt addDetailR t text_contentt assertInt assertEqual( t selfR R t return_code( ( s4 /tmp/pip-build-T5Mfvc/pbr/pbr/tests/test_commands.pyt test_custom_build_py_command/ s c C sn | j d � \ } } } | j d t j | � � | j d t j | � � | j d | � | j | d � d S( s Test custom rpm_version command.t rpm_versionR R s Extracting rpm versioni N( R R R R R R ( R R R R ( ( s4 /tmp/pip-build-T5Mfvc/pbr/pbr/tests/test_commands.pyt"