Beispiel #1
0
    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)
Beispiel #2
0
    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)
Beispiel #3
0
 def test_5(self):
     self.assertEquals(marshal.validateObjectPath('/foo/bar'), None)
Beispiel #4
0
 def test_5(self):
     self.assertEquals(marshal.validateObjectPath("/foo/bar"), None)