Skip to content

Commit cd609e2

Browse files
committed
Try fix test
1 parent 419fb31 commit cd609e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/tests/test_cruft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_cruft_update(con, repo, tmp_path, pr, git_repo: GitRepo, monkeypatch: p
5353
old_active_branch_name = git_repo.api.active_branch.name
5454

5555
def _mock_run_cruft(cwd: Path, *, tag_name, log_name):
56-
(cwd / "b").write_text("b modified")
56+
return (cwd / "b").write_text("b modified")
5757

5858
monkeypatch.setattr("scverse_template_scripts.cruft_prs.run_cruft", _mock_run_cruft)
5959
changed = cruft_update(con, pr, tag_name="main", repo=repo, origin=repo, path=tmp_path)

0 commit comments

Comments
 (0)