Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugins/codex-security/tests/test_generate_rank_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def test_make_repo_rank_input_preserves_legacy_tilde_scope(
(repo / "src").mkdir(parents=True)
(repo / "src" / "runtime.py").write_text("runtime = True", encoding="utf-8")
monkeypatch.setenv("HOME", str(home))
monkeypatch.setenv("USERPROFILE", str(home))
output = tmp_path / "rank_input.jsonl"

run_cli(
Expand Down
5 changes: 2 additions & 3 deletions plugins/codex-security/tests/test_workbench_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ def test_git_output_decodes_repository_paths_as_utf8(
initialize_git_repository(target)
monkeypatch.setattr(subprocess, "_text_encoding", lambda: encoding)

assert WORKBENCH_TARGET["git_output"](target, "rev-parse", "--show-toplevel") == str(
target
)
output = WORKBENCH_TARGET["git_output"](target, "rev-parse", "--show-toplevel")
assert Path(output) == target


def test_directory_content_digest_uses_git_file_set(tmp_path: Path) -> None:
Expand Down
Loading