def METHOD_NAME(conn_test_name, conn_test_file_name, conn_test_password_file):
    global tab_cli_exe
    cmdline = [tab_cli_exe]
    cmdline.extend(["--conn-test", conn_test_name])
    cmdline.extend(["--conn-test-file", conn_test_file_name])
    if conn_test_password_file:
        cmdline.extend(["--conn-test-password-file", conn_test_password_file])
    return cmdline