test_univ.py | 330 assert univ.Boolean(True) and univ.Boolean(1), 'Truth initializer fails' 333 assert not univ.Boolean(False) and not univ.Boolean(0), 'False initializer fails' 479 initializer = () variable in class:OctetStringWithUnicodeMixIn 483 self.pythonString = ints2octs(self.initializer).decode(self.encoding) 542 initializer = (97, 102) variable in class:OctetStringWithAsciiTestCase 547 initializer = (208, 176, 208, 177, 208, 178) variable in class:OctetStringWithUtf8TestCase 552 initializer = (4, 48, 4, 49, 4, 50) variable in class:OctetStringWithUtf16TestCase 561 initializer = (0, 0, 4, 48, 0, 0, 4, 49, 0, 0, 4, 50) variable in class:.OctetStringWithUtf32TestCase 702 assert univ.Real((0.25, 2, 3)) == 2.0, 'float initializer for binary encoding fails' [all...] |