File: //usr/lib/python3/dist-packages/pbr/tests/__pycache__/test_commands.cpython-38.pyc
U
jP�^h � @ s. d dl mZ d dlmZ G dd� dej�ZdS )� )�content)�basec @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
�TestCommandsc C sP | � d�\}}}| �dt�|�� | �dt�|�� | �d|� | �d|� dS )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.
Zbuild_py�stdout�stderrz Running custom build_py command.r N�Z run_setupZ addDetailr Ztext_contentZassertIn�assertEqual��selfr r �return_code� r �9/usr/lib/python3/dist-packages/pbr/tests/test_commands.py�test_custom_build_py_command/ s
z)TestCommands.test_custom_build_py_commandc C sP | � d�\}}}| �dt�|�� | �dt�|�� | �d|� | �d|� dS )z Test custom deb_version command.Zdeb_versionr r zExtracting deb versionr Nr r r r r
�"test_custom_deb_version_py_command<