Skip to content

Commit

Permalink
test: fix missing uv.lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
bepri committed Dec 18, 2024
1 parent fcde7c3 commit 3ee1722
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions tests/integration/parts/plugins/test_uv.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def uv_project(project_path: Path, monkeypatch) -> None:
"--name=test-charm",
f"--python={platform.python_version()}",
"--no-progress",
"--no-workspace",
],
capture_output=True,
check=True,
)
subprocess.run(
Expand All @@ -78,10 +80,10 @@ def uv_project(project_path: Path, monkeypatch) -> None:
@pytest.mark.slow
@pytest.mark.usefixtures("uv_project")
def test_uv_plugin(
build_plan, service_factory: services.CharmcraftServiceFactory, tmp_path: Path
build_plan, service_factory: services.CharmcraftServiceFactory, new_path: Path
):
install_path = tmp_path / "parts" / "my-charm" / "install"
stage_path = tmp_path / "stage"
install_path = new_path / "parts" / "my-charm" / "install"
stage_path = new_path / "stage"
service_factory.lifecycle._build_plan = build_plan

service_factory.lifecycle.run("stage")
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ee1722

Please sign in to comment.