Esempio n. 1
0
 def test_whitespace(self):
     assert " " == utils.convert_char(" ")
Esempio n. 2
0
 def test_literal(self):
     assert "e" == utils.convert_char("e")
Esempio n. 3
0
 def test_punctation(self):
     assert "." == utils.convert_char(".")
Esempio n. 4
0
 def test_utf(self):
     assert "\\xe9", utils.convert_char(u"\xe9")
Esempio n. 5
0
 def test_digit(self):
     assert "9" == utils.convert_char(u"9")
Esempio n. 6
0
 def test_whitespace(self):
     assert " " == utils.convert_char(" ")
Esempio n. 7
0
 def test_punctation(self):
     assert "." == utils.convert_char(".")
Esempio n. 8
0
 def test_literal(self):
     assert "e" == utils.convert_char("e")
Esempio n. 9
0
 def test_digit(self):
     assert "9" == utils.convert_char(u"9")
Esempio n. 10
0
 def test_utf(self):
     assert "\\xe9", utils.convert_char(u"\xe9")