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