Skip to content

Commit

Permalink
test: correct usrmerge fix test to check all python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bepri committed Jan 24, 2025
1 parent 94d4f80 commit ff0e5fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/services/test_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
callbacks,
)
from craft_parts.state_manager.prime_state import PrimeState
from rockcraft.plugins.python_common import get_python_plugins
from rockcraft.services import lifecycle as lifecycle_module

# pylint: disable=protected-access
Expand Down Expand Up @@ -99,7 +100,7 @@ def test_lifecycle_package_repositories(
mock_callback.assert_called_once_with(repositories.install_overlay_repositories)


@pytest.mark.parametrize("plugin_name", ["python", "poetry"])
@pytest.mark.parametrize("plugin_name", get_python_plugins())
def test_python_usrmerge_fix(tmp_path, plugin_name):
# The test setup is rather involved because we need to recreate/mock an
# exact set of circumstances here:
Expand Down

0 comments on commit ff0e5fa

Please sign in to comment.