Example #1
0
    def tearDown(self):
        if self.obj != self.objPython:
            self.fail("Python object %s differs from JavaScript object %s" % \
                          (repr(self.objPython),
                           repr(dict(self.obj))))

        TestCaseWithContext.tearDown(self)
Example #2
0
    def tearDown(self):
        if self.objPython != list(asSeq(self.ctx.globalObject.objJS)):
            self.fail("Python object %s differs from JavaScript object %s" % \
                          (repr(self.objPython),
                           repr(list(self.ctx.globalObject.objJS))))

        TestCaseWithContext.tearDown(self)
Example #3
0
    def tearDown(self):
        if self.objPython != list(asSeq(self.ctx.globalObject.objJS)):
            self.fail("Python object %s differs from JavaScript object %s" % \
                          (repr(self.objPython),
                           repr(list(self.ctx.globalObject.objJS))))

        TestCaseWithContext.tearDown(self)
Example #4
0
    def tearDown(self):
        if self.obj != self.objPython:
            self.fail("Python object %s differs from JavaScript object %s" % \
                          (repr(self.objPython),
                           repr(dict(self.obj))))

        TestCaseWithContext.tearDown(self)