Skip to content

Commit

Permalink
test: uhh try this?
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Dec 18, 2024
1 parent 13f58c5 commit 1c7b6f2
Showing 1 changed file with 5 additions and 3 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 @@ -62,6 +62,7 @@ def uv_project(project_path: Path, monkeypatch) -> None:
"--no-progress",
"--no-workspace",
],
cwd=project_path,
capture_output=True,
check=True,
)
Expand All @@ -70,6 +71,7 @@ def uv_project(project_path: Path, monkeypatch) -> None:
"uv",
"lock",
],
cwd=project_path,
check=True,
)
source_dir = project_path / "src"
Expand All @@ -80,10 +82,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, new_path: Path
build_plan, service_factory: services.CharmcraftServiceFactory, tmp_path: Path
):
install_path = new_path / "parts" / "my-charm" / "install"
stage_path = new_path / "stage"
install_path = tmp_path / "parts" / "my-charm" / "install"
stage_path = tmp_path / "stage"
service_factory.lifecycle._build_plan = build_plan

service_factory.lifecycle.run("stage")
Expand Down

0 comments on commit 1c7b6f2

Please sign in to comment.