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__()
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__())