Skip to content

Commit a856b10

Browse files
authored
[tests] Fix shadowed function arg (backport #1835) (#1842)
The function for generating the test description was shadowing its ur_type argument by a launch_configuration query. This is currently not used anywhere in the tests, as another generator function is used in tests where the robot type matters, but it should get fixed, anyway.
1 parent cb68d86 commit a856b10

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ur_robot_driver/test/test_common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,6 @@ def generate_driver_test_description(
574574
ursim_program_folder=None,
575575
urcap_folder=None,
576576
):
577-
ur_type = LaunchConfiguration("ur_type")
578-
579577
launch_arguments = {
580578
"robot_ip": "192.168.56.101",
581579
"ur_type": ur_type,

0 commit comments

Comments
 (0)