Example #1
0
 def test_string_output(self):
     """Test the string output"""
     pdu = A_RELEASE_RP()
     pdu.decode(a_release_rp)
     assert "0x06" in pdu.__str__()
     assert "4 bytes" in pdu.__str__()
Example #2
0
 def test_string_output(self):
     """Test the string output"""
     pdu = A_RELEASE_RP()
     pdu.Decode(a_release_rp)
     self.assertTrue("0x06" in pdu.__str__())
     self.assertTrue("10 bytes" in pdu.__str__())