class documentation

class TestBEROctetString(unittest.TestCase): (source)

View In Hierarchy

Unit tests for BEROctetString.

Method testFromBEROctetStringKnownValues BEROctetString(encoded="...") should give known result with known input
Method testPartialBEROctetStringEncodings BEROctetString(encoded="...") with too short input should throw BERExceptionInsufficientData
Method testSanity BEROctetString(encoded=BEROctetString(n*'x')).value==n*'x' for some values of n
Method testToBEROctetStringKnownValues BEROctetString(n).toWire() should give known result with known input
Class Variable knownValues Undocumented
def testFromBEROctetStringKnownValues(self): (source)

BEROctetString(encoded="...") should give known result with known input

def testPartialBEROctetStringEncodings(self): (source)

BEROctetString(encoded="...") with too short input should throw BERExceptionInsufficientData

def testSanity(self): (source)

BEROctetString(encoded=BEROctetString(n*'x')).value==n*'x' for some values of n

def testToBEROctetStringKnownValues(self): (source)

BEROctetString(n).toWire() should give known result with known input

knownValues = (source)

Undocumented