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