Skip to content

Commit 73677a5

Browse files
committed
tests(fix): update ros2 context from fn to module
1 parent 71353f3 commit 73677a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/communication/ros2/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def setup_mock_clock_for_agent(agent, use_time_wrapper: bool = True):
573573
return mock_clock, mock_time
574574

575575

576-
@pytest.fixture(scope="function")
576+
@pytest.fixture(scope="module")
577577
def ros_setup() -> Generator[None, None, None]:
578578
rclpy.init()
579579
yield

0 commit comments

Comments
 (0)