<commit_before>function pretty_print_segment() {
  printf '%s' "${@}"
}

export -f pretty_print_segment

function test_we_get_the_user_right() {
  result=$("${sbp_path}/segments/host.bash" 0 0)
  assert_equals " $USER " "$result"
}<commit_msg>Disabling host test, as travis just kills this<commit_after>function pretty_print_segment() {
  printf '%s' "${@}"
}

export -f pretty_print_segment

function test_that_we_detect_ssh() {
  export SSH_CLIENT=yes
  result=$("${sbp_path}/segments/host.bash" 0 0)
  assert_equals " ${USER}@${HOSTNAME} " "$result"
}
{'fraction_non_alphanumeric': 0.1552346570397112, 'fraction_numerical': 0.007220216606498195, 'mean_word_length': 6.115384615384615, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013545', 'n_tokens_mistral': 207, 'n_tokens_neox': 198, 'n_words': 39}