File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 4242 uv pip install --system tests/launcher/pkg_with_entrypoint
4343 - name : Run tests
4444 run : |
45- uv run pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
45+ python -m pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
4646
4747 # - uses: codecov/codecov-action@v5
4848 # name: 'Upload coverage to CodeCov'
Original file line number Diff line number Diff line change 2424import pkg_with_entrypoint
2525
2626from ansys .tools .common .launcher ._plugins import (
27+ get_all_plugins ,
2728 get_config_model ,
2829 get_launcher ,
2930)
3031from ansys .tools .common .launcher .config import get_config_for , get_launch_mode_for
3132
32- # def test_plugin_found():
33- # """Test that the plugin is found in the plugin dictionary."""
34- # plugin_dict = get_all_plugins()
35- # assert "pkg_with_entrypoint" in plugin_dict
36- # assert "test_entry_point" in plugin_dict["pkg_with_entrypoint"]
33+
34+ def test_plugin_found ():
35+ """Test that the plugin is found in the plugin dictionary."""
36+ plugin_dict = get_all_plugins ()
37+ assert "pkg_with_entrypoint" in plugin_dict
38+ assert "test_entry_point" in plugin_dict ["pkg_with_entrypoint" ]
3739
3840
3941def test_get_launcher ():
You can’t perform that action at this time.
0 commit comments