def testAttributeValueToStringPreventIndexRegression(self):
    value = ',newyork'
    expected = '\\,newyork'
    result = self.x._AttributeValueToString(value)
    self.assertEqual(expected, result)
Test _AttributeValueToString().
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testAttributeValueToStringPreventIndexRegression