def test_string_output(self): """Test the string output""" pdu = A_ABORT_RQ() pdu.decode(a_abort) assert "0x07" in pdu.__str__() assert "4 bytes" in pdu.__str__() assert "DUL service-user" in pdu.__str__()
def test_string_output(self): """Test the string output""" pdu = A_ABORT_RQ() pdu.Decode(a_abort) self.assertTrue("0x07" in pdu.__str__()) self.assertTrue("4 bytes" in pdu.__str__()) self.assertTrue("DUL service-user" in pdu.__str__())