diff --git a/tests/cfdp/pdus/test_finish_pdu.py b/tests/cfdp/pdus/test_finished_pdu.py similarity index 98% rename from tests/cfdp/pdus/test_finish_pdu.py rename to tests/cfdp/pdus/test_finished_pdu.py index 1c60790..eb98c52 100644 --- a/tests/cfdp/pdus/test_finish_pdu.py +++ b/tests/cfdp/pdus/test_finished_pdu.py @@ -38,6 +38,7 @@ def test_basic(self): params=self.params, pdu_conf=self.pdu_conf, ) + self.assertEqual(finish_pdu.finished_params, self.params) self.assertEqual(finish_pdu.direction, Direction.TOWARDS_SENDER) self.assertEqual(finish_pdu.delivery_code, DeliveryCode.DATA_COMPLETE) self.assertEqual( @@ -60,6 +61,7 @@ def test_unpack_basic(self): ) finish_pdu_raw = finish_pdu.pack() finish_pdu_unpacked = FinishedPdu.unpack(data=finish_pdu_raw) + self.assertEqual(finish_pdu_unpacked.finished_params, self.params) self.assertEqual(finish_pdu_unpacked.delivery_code, DeliveryCode.DATA_COMPLETE) self.assertEqual(finish_pdu_unpacked.direction, Direction.TOWARDS_SENDER) self.assertEqual(