Skip to content

Commit

Permalink
Fix for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vits-99 committed Jan 23, 2025
1 parent c075e6a commit d32079c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,11 +905,11 @@ async def check_sync():
assert await route_layer.async_is_synced()
# now confirm utterances are correct
local_utterances = await route_layer.index.aget_utterances(
include_metadata=True
include_metadata=False
)
# we sort to ensure order is the same
# TODO JB: there is a bug here where if we include_metadata=True it fails
local_utterances.sort(key=lambda x: x.to_str(include_metadata=True))
local_utterances.sort(key=lambda x: x.to_str(include_metadata=False))
assert local_utterances == [
Utterance(route="Route 1", utterance="Hello"),
Utterance(route="Route 1", utterance="Hi"),
Expand Down

0 comments on commit d32079c

Please sign in to comment.