def test_should_replace_en_dash_with_hyphen(self):
     assert normalise_str(EN_DASH) == '-'
Esempio n. 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) == ' '
Esempio n. 4
0
 def test_should_replace_single_quote_with_double_quote(self):
     assert normalise_str('\'') == '"'