def __init__(self, objectPath): """ @type objectPath: C{string} @param objectPath: The DBus path of the object. The format of the path must comply with the DBus specification. """ self._objectPath = objectPath self._objectHandler = None marshal.validateObjectPath(objectPath)
def test_5(self): self.assertEquals(marshal.validateObjectPath('/foo/bar'), None)
def test_5(self): self.assertEquals(marshal.validateObjectPath("/foo/bar"), None)