<commit_before>require 'test_helper'

class TavernaPlayerTest < ActiveSupport::TestCase
  test "truth" do
    assert_kind_of Module, TavernaPlayer
  end

  test "taverna_player_hostname_setting" do
    TavernaPlayer.player_hostname = "https://example.com:8443/test/path"
    assert_equal TavernaPlayer.hostname[:scheme], "https", "Scheme not https"
    assert_equal TavernaPlayer.hostname[:host], "example.com:8443/test/path"
  end
end<commit_msg>Remove forgotten test for setting hostname.<commit_after>require 'test_helper'

class TavernaPlayerTest < ActiveSupport::TestCase
  test "truth" do
    assert_kind_of Module, TavernaPlayer
  end
end
{'fraction_non_alphanumeric': 0.08837209302325581, 'fraction_numerical': 0.012403100775193798, 'mean_word_length': 5.8, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '636851', 'n_tokens_mistral': 209, 'n_tokens_neox': 205, 'n_words': 45}