Skip to content

Commit

Permalink
Work around Pydantic HttpUrl equality bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fajpunk committed Dec 10, 2024
1 parent 1e726ab commit ba7b640
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/services/ci_manager_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,7 @@ async def test_shutdown(
],
num_queued=2,
)
assert summary in (expected_summary1, expected_summary2)
assert summary.model_dump(mode="json") in (
expected_summary1.model_dump(mode="json"),
expected_summary2.model_dump(mode="json"),
)

0 comments on commit ba7b640

Please sign in to comment.