Exemplo n.º 1
0
 def test_embedded_dquote(self):
     self.assertEqual(u"'a\"b'", stringutil.quote_string(u'a"b'))
Exemplo n.º 2
0
 def test_empty(self):
     self.assertEqual(u'""', stringutil.quote_string(u''))
Exemplo n.º 3
0
 def test_embedded_squote(self):
     self.assertEqual(u'"a\'b"', stringutil.quote_string(u'a\'b'))