<commit_before>$:.unshift File.expand_path("../lib", File.dirname(__FILE__)) # load from jekyll-import/lib

require 'helper'
require 'jekyll/importers/wordpress'
require 'htmlentities'

class TestWordpressMigrator < Test::Unit::TestCase
  should "clean slashes from slugs" do
    test_title = "blogs part 1/2"
    assert_equal("blogs-part-1-2", Jekyll::WordPress.sluggify(test_title))
  end
end
<commit_msg>Jekyll ~> JekyllImport in Wordpress importer test<commit_after>require 'helper'
require 'htmlentities'

class TestWordpressMigrator < Test::Unit::TestCase
  should "clean slashes from slugs" do
    test_title = "blogs part 1/2"
    assert_equal("blogs-part-1-2", JekyllImport::WordPress.sluggify(test_title))
  end
end

{'fraction_non_alphanumeric': 0.1184573002754821, 'fraction_numerical': 0.011019283746556474, 'mean_word_length': 5.669724770642202, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '2991526', 'n_tokens_mistral': 253, 'n_tokens_neox': 246, 'n_words': 55}