def test_should_replace_en_dash_with_hyphen(self):
     assert normalise_str(EN_DASH) == '-'
Exemple #2
0
 def test_should_replace_html_apos_with_double_quote(self):
     assert normalise_str(''') == '"'
 def test_should_replace_thin_space_with_regular_space(self):
     assert normalise_str(THIN_SPACE) == ' '
Exemple #4
0
 def test_should_replace_single_quote_with_double_quote(self):
     assert normalise_str('\'') == '"'