Skip to content

Commit

Permalink
Change pytest fixture scope from session to module for test isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulero committed Dec 19, 2024
1 parent 5e30952 commit bcce799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_robot_model_path(robot_name: str) -> str:
TEST_CONFIGURATIONS = list(product(VELOCITY_REPRESENTATIONS, ROBOTS))


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

velocity_representation, robot_name = request.param
Expand Down

0 comments on commit bcce799

Please sign in to comment.