Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Nov 12, 2024
1 parent 70c6dc9 commit 884476d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/tests/unit_tests/evaluation/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ def request(self, verb: str, endpoint: str, *args, **kwargs):
res = MagicMock()
res.json.return_value = {
"runs": [
r for r in self.runs.values() if "reference_example_id" in r
r
for r in self.runs.values()
if r["trace_id"] == r["id"] and r.get("reference_example_id")
]
}
return res
Expand Down

0 comments on commit 884476d

Please sign in to comment.