def METHOD_NAME(insights_config, insights_client):
    """
    Collection is not done when a payload is uploaded
    Payload is sent to upload function
    Archive is not deleted
    """
    insights_config.return_value.load_all.return_value.payload = 'testp'
    insights_config.return_value.load_all.return_value.content_type = 'testct'
    try:
        collect_and_output()
    except SystemExit:
        pass
    insights_client.return_value.collect.assert_not_called()
    insights_client.return_value.upload.assert_called_with(payload='testp', content_type='testct')
    insights_client.return_value.delete_cached_branch_info.assert_called_once()