예제 #1
0
 def test_punctation(self):
     assert_equal(".", utils.convert_char("."))
예제 #2
0
 def test_whitespace(self):
     assert_equal(" ", utils.convert_char(" "))
예제 #3
0
 def test_digit(self):
     assert_equal("9", utils.convert_char(u"9"))
예제 #4
0
 def test_literal(self):
     assert_equal("e", utils.convert_char("e"))
예제 #5
0
 def test_whitespace(self):
     assert_equal(" ", utils.convert_char(" "))
예제 #6
0
 def test_utf(self):
     assert_equal("\\xe9", utils.convert_char(u"\xe9"))
예제 #7
0
 def test_literal(self):
     assert_equal("e", utils.convert_char("e"))
예제 #8
0
 def test_punctation(self):
     assert_equal(".", utils.convert_char("."))
예제 #9
0
 def test_utf(self):
     assert_equal("\\xe9", utils.convert_char(u"\xe9"))
예제 #10
0
 def test_digit(self):
     assert_equal("9", utils.convert_char(u"9"))
예제 #11
0
 def test_whitespace(self):
     assert " " == utils.convert_char(" ")
예제 #12
0
 def test_punctation(self):
     assert "." == utils.convert_char(".")
예제 #13
0
 def test_literal(self):
     assert "e" == utils.convert_char("e")
예제 #14
0
 def test_digit(self):
     assert "9" == utils.convert_char("9")
예제 #15
0
 def test_utf(self):
     assert "\\xe9", utils.convert_char("\xe9")