@@ -107,15 +107,15 @@ def test_create_publisher(participant):
107107 assert (fastdds .RETCODE_OK ==
108108 participant .delete_publisher (publisher ))
109109
110- def test (status_mask_1 , listnr = None ):
110+ def test (status_mask , listnr = None ):
111111 """
112112 Test the entity creation using the type of StatusMask.
113113 """
114114 publisher = participant .create_publisher (
115- fastdds .PUBLISHER_QOS_DEFAULT , listnr , status_mask_1 )
115+ fastdds .PUBLISHER_QOS_DEFAULT , listnr , status_mask )
116116 assert (publisher is not None )
117117 assert (publisher .is_enabled ())
118- assert (status_mask_1 == publisher .get_status_mask ())
118+ assert (status_mask == publisher .get_status_mask ())
119119 assert (fastdds .RETCODE_OK ==
120120 participant .delete_publisher (publisher ))
121121
@@ -192,17 +192,17 @@ def test_create_publisher_with_profile(participant):
192192 assert (fastdds .RETCODE_OK ==
193193 participant .delete_publisher (publisher ))
194194
195- def test (status_mask_1 , listnr = None ):
195+ def test (status_mask , listnr = None ):
196196 """
197197 Test the entity creation using the type of StatusMask.
198198 """
199199 publisher = participant .create_publisher_with_profile (
200- 'test_publisher_profile' , listnr , status_mask_1 )
200+ 'test_publisher_profile' , listnr , status_mask )
201201 assert (publisher is not None )
202202 assert (publisher .is_enabled ())
203203 qos = publisher .get_qos ()
204204 assert ('partition_name_c' == qos .partition ()[0 ])
205- assert (status_mask_1 == publisher .get_status_mask ())
205+ assert (status_mask == publisher .get_status_mask ())
206206 assert (fastdds .RETCODE_OK ==
207207 participant .delete_publisher (publisher ))
208208
@@ -269,15 +269,15 @@ def test_create_subscriber(participant):
269269 assert (fastdds .RETCODE_OK ==
270270 participant .delete_subscriber (subscriber ))
271271
272- def test (status_mask_1 , listnr = None ):
272+ def test (status_mask , listnr = None ):
273273 """
274274 Test the entity creation using the type of StatusMask.
275275 """
276276 subscriber = participant .create_subscriber (
277- fastdds .SUBSCRIBER_QOS_DEFAULT , listnr , status_mask_1 )
277+ fastdds .SUBSCRIBER_QOS_DEFAULT , listnr , status_mask )
278278 assert (subscriber is not None )
279279 assert (subscriber .is_enabled ())
280- assert (status_mask_1 == subscriber .get_status_mask ())
280+ assert (status_mask == subscriber .get_status_mask ())
281281 assert (fastdds .RETCODE_OK ==
282282 participant .delete_subscriber (subscriber ))
283283
@@ -354,17 +354,17 @@ def test_create_subscriber_with_profile(participant):
354354 assert (fastdds .RETCODE_OK ==
355355 participant .delete_subscriber (subscriber ))
356356
357- def test (status_mask_1 , listnr = None ):
357+ def test (status_mask , listnr = None ):
358358 """
359359 Test the entity creation using the type of StatusMask.
360360 """
361361 subscriber = participant .create_subscriber_with_profile (
362- 'test_subscriber_profile' , listnr , status_mask_1 )
362+ 'test_subscriber_profile' , listnr , status_mask )
363363 assert (subscriber is not None )
364364 assert (subscriber .is_enabled ())
365365 qos = subscriber .get_qos ()
366366 assert ('partition_name_b' == qos .partition ()[0 ])
367- assert (status_mask_1 == subscriber .get_status_mask ())
367+ assert (status_mask == subscriber .get_status_mask ())
368368 assert (fastdds .RETCODE_OK ==
369369 participant .delete_subscriber (subscriber ))
370370
@@ -445,16 +445,16 @@ def test_create_and_delete_topic(participant):
445445 assert (fastdds .RETCODE_OK ==
446446 participant .delete_topic (topic ))
447447
448- def test (status_mask_1 , listnr = None ):
448+ def test (status_mask , listnr = None ):
449449 """
450450 Test the entity creation using the type of StatusMask.
451451 """
452452 topic = participant .create_topic (
453453 "Complete" , test_type .get_type_name (),
454- fastdds .TOPIC_QOS_DEFAULT , listnr , status_mask_1 )
454+ fastdds .TOPIC_QOS_DEFAULT , listnr , status_mask )
455455 assert (topic is not None )
456456 assert (topic .is_enabled ())
457- assert (status_mask_1 == topic .get_status_mask ())
457+ assert (status_mask == topic .get_status_mask ())
458458 assert (fastdds .RETCODE_OK ==
459459 participant .delete_topic (topic ))
460460
@@ -641,20 +641,19 @@ def test_get_set_listener(participant):
641641 assert (participant .get_listener () == listener )
642642 assert (fastdds .StatusMask .all () == participant .get_status_mask ())
643643
644- def test (status_mask_1 ):
644+ def test (status_mask ):
645645 """
646646 Test the entity creation using the type of StatusMask.
647647 """
648648 listener = DomainParticipantListener ()
649649 assert (listener is not None )
650650 assert (fastdds .RETCODE_OK ==
651- participant .set_listener (listener , status_mask_1 ))
651+ participant .set_listener (listener , status_mask ))
652652 assert (participant .get_listener () == listener )
653- assert (status_mask_1 == participant .get_status_mask ())
653+ assert (status_mask == participant .get_status_mask ())
654654
655655 # Overload 3: Different status masks
656656 test (fastdds .StatusMask .all ())
657- test (fastdds .StatusMask .all ())
658657 test (fastdds .StatusMask .none ())
659658 test (fastdds .StatusMask .data_available ())
660659 test (fastdds .StatusMask .data_on_readers ())
0 commit comments