def test_help_command_should_exit_status_ok_when_command_exists(script):
 result = script.pip('help', 'freeze')
 assert (result.returncode == SUCCESS)

def test_help_command_should_exit_status_ok_when_command_exists ( script ) : result = script . pip ( 'help' , 'freeze' ) assert ( result . returncode == SUCCESS )
test help command for existing command .