def signed_by(self): return reader.parse_signed_by(self.content)
def check(expected, cable_id, c14n): cable = cable_by_id(cable_id) if not isinstance(expected, tuple): expected = (expected,) eq_(expected, tuple(parse_signed_by(cable.content, c14n)))
def check(expected, content, c14n): if not isinstance(expected, tuple): expected = (expected,) eq_(expected, tuple(parse_signed_by(content, c14n)))
def signed_by(self): return reader.parse_signed_by(self.content)
def check(expected, cable_id, c14n): cable = cable_by_id(cable_id) if not isinstance(expected, tuple): expected = (expected, ) eq_(expected, tuple(parse_signed_by(cable.content, c14n)))
def check(expected, content, c14n): if not isinstance(expected, tuple): expected = (expected, ) eq_(expected, tuple(parse_signed_by(content, c14n)))