def testAttributeValueToStringWhenCharsNeedingEscaping(self):
    chars = ['"', '+', ',', ';', '<', '>', '\\']
    for c in chars:
      value = 'new%syork' % c
      expected = 'new\\%syork' % c
      result = self.x._AttributeValueToString(value)
      self.assertEqual(expected, result)
Test PATCHing a resource for an endpoint that doesn't support it.
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testAttributeValueToStringWhenCharsNeedingEscaping--crossover with--dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanValidation.test_unsupported_patch_resource