예제 #1
0
 def test_string_output(self):
     """Test the string output"""
     pdu = A_RELEASE_RQ()
     pdu.decode(a_release_rq)
     assert "0x05" in pdu.__str__()
     assert "4 bytes" in pdu.__str__()
예제 #2
0
 def test_string_output(self):
     """Test the string output"""
     pdu = A_RELEASE_RQ()
     pdu.Decode(a_release_rq)
     self.assertTrue("0x05" in pdu.__str__())
     self.assertTrue("10 bytes" in pdu.__str__())