def testAttributeValueToStringWhenMultipleAdjacentTransformsNeeded(self):
    value = ' new,york;; '
    expected = '\\ new\\,york\\;\\;\\ '
    result = self.x._AttributeValueToString(value)
    self.assertEqual(expected, result)
    value = '#new,york;\x00, '
    expected = '\\#new\\,york\\;\\00\\,\\ '
    result = self.x._AttributeValueToString(value)
    self.assertEqual(expected, result)
Create an instance of the bluetooth device from the provided bluez
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testAttributeValueToStringWhenMultipleAdjacentTransformsNeeded--crossover with--dataset/ETHPy150Open adafruit/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/bluez_dbus/device.py/BluezDevice.__init__