示例#1
0
 def test_unquote_messages(self):
     messages = ["a b", "c+d", "e\\+f"]
     uqmessages = exitcode.unquote_messages(messages)
     self.assertEquals(uqmessages[0], "a b")
     self.assertEquals(uqmessages[1], "c d")
     self.assertEquals(uqmessages[2], "e+f")
示例#2
0
 def test_unquote_messages(self):
     messages = ["a b", "c+d", "e\\+f"]
     uqmessages = exitcode.unquote_messages(messages)
     self.assertEqual(uqmessages[0], "a b")
     self.assertEqual(uqmessages[1], "c d")
     self.assertEqual(uqmessages[2], "e+f")