Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
a_bondar committed Apr 24, 2024
1 parent cf31c1b commit b56e432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ async def test_bulk_create_mix_specified(self):
]
inc = all_[100]["id"]
assert sorted(all_[100:], key=lambda x: x["id"]) == [
{"id": val + inc, "name": None} for val in range(1000, 1100)
{"id": val + inc, "name": None} for val in range(100)
]
else:
inc = all_[0]["id"]
assert sorted(all_[:100], key=lambda x: x["id"]) == [
{"id": val + inc, "name": None} for val in range(1000, 1100)
{"id": val + inc, "name": None} for val in range(100)
]
assert sorted(all_[100:], key=lambda x: x["id"]) == [
{"id": id_, "name": None} for id_ in range(1000, 1100)
Expand Down

0 comments on commit b56e432

Please sign in to comment.