def METHOD_NAME(run_cli_command, mock_profiles):
    """Test the ``verdi profile show`` command in combination with ``-p/--profile``."""
    profile_list = mock_profiles()
    profile_name_non_default = profile_list[1]
    # Specifying the non-default profile as argument should override the default
    result = run_cli_command(cmd_profile.profile_show, [profile_name_non_default], use_subprocess=False)
    assert profile_name_non_default in result.output
    # Specifying ``-p/--profile`` should not override the argument default (which should be the default profile)
    result = run_cli_command(cmd_verdi.verdi, ['-p', profile_name_non_default, 'profile', 'show'], use_subprocess=False)
    assert profile_name_non_default not in result.output