Skip to content

Commit

Permalink
list
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Dec 28, 2024
1 parent 1cdf73e commit 1d4d9f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def assert_equal_data(result: Any, expected: dict[str, Any]) -> None:
sort_key = next(iter(expected.keys()))
expected = _sort_dict_by_key(expected, sort_key)
result = _sort_dict_by_key(result, sort_key)
assert (
list(result.keys()) == expected.keys()
assert list(result.keys()) == list(
expected.keys()
), f"Result keys {result.keys()}, expected keys: {expected.keys()}"

for key, expected_value in expected.items():
Expand Down

0 comments on commit 1d4d9f4

Please sign in to comment.