Esempio n. 1
0
def test_slugify_special_chars():
    test_string = "This is a title_with-special.chars"
    assert (slugify(test_string) == "this_is_a_title_with-special.chars")
Esempio n. 2
0
def test_slugify_special_chars():
    test_string = "This is a title_with-special.chars"
    assert(slugify(test_string) == "this_is_a_title_with-special.chars")
Esempio n. 3
0
def test_slugify():
    test_string = "This is a title"
    assert (slugify(test_string) == "this_is_a_title")
Esempio n. 4
0
def test_slugify():
    test_string = "This is a title"
    assert(slugify(test_string) == "this_is_a_title")