Ejemplo n.º 1
0
 def test_string_output(self):
     """Test the string output"""
     pdu = P_DATA_TF()
     pdu.decode(p_data_tf)
     assert "80 bytes" in pdu.__str__()
     assert "0x03 0x00" in pdu.__str__()
Ejemplo n.º 2
0
 def test_string_output(self):
     """Test the string output"""
     pdu = P_DATA_TF()
     pdu.Decode(p_data_tf)
     self.assertTrue("80 bytes" in pdu.__str__())
     self.assertTrue("0x03 0x00" in pdu.__str__())