Skip to content

Commit 4bb0ac2

Browse files
authored
read gathered_code attribute from the tracker object (#196)
1 parent 5a65e98 commit 4bb0ac2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/nat_tests/test_judge_llm_analysis.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ async def test_processes_non_final_issues(
7171
is_final=FinalStatus.FALSE.value,
7272
)
7373

74-
# Add source code and similar issues to test context building
75-
self.sample_tracker.issues[issue_ids[1]].source_code = {
76-
"test.c": ["int main() { return 0; }"]
77-
}
74+
# Add gathered code and similar issues to test context building
75+
self.sample_tracker.issues[issue_ids[1]].gathered_code = (
76+
"\ncode of test.c file:\nint main() { return 0; }"
77+
)
7878
self.sample_tracker.issues[issue_ids[1]].similar_known_issues = "Similar issue context"
7979

8080
# Execution

0 commit comments

Comments
 (0)