Skip to content

Commit bcce799

Browse files
committed
Change pytest fixture scope from session to module for test isolation
1 parent 5e30952 commit bcce799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_robot_model_path(robot_name: str) -> str:
7575
TEST_CONFIGURATIONS = list(product(VELOCITY_REPRESENTATIONS, ROBOTS))
7676

7777

78-
@pytest.fixture(scope="session", params=TEST_CONFIGURATIONS, ids=str)
78+
@pytest.fixture(scope="module", params=TEST_CONFIGURATIONS, ids=str)
7979
def tests_setup(request) -> RobotCfg | State:
8080

8181
velocity_representation, robot_name = request.param

0 commit comments

Comments
 (0)