Skip to content

Commit

Permalink
fix: func schema string test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Dec 1, 2024
1 parent 6f4bf2e commit 89b3afe
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 @@ -283,8 +283,8 @@ def test_utterance_diff(self, openai_encoder, routes, routes_2, index_cls):
if index_cls is PineconeIndex:
time.sleep(PINECONE_SLEEP) # allow for index to be populated
diff = route_layer_2.get_utterance_diff(include_metadata=True)
assert "+ Route 1: Hello | None | {'type': 'default'}" in diff
assert "+ Route 1: Hi | None | {'type': 'default'}" in diff
assert '+ Route 1: Hello | None | {"type": "default"}' in diff
assert '+ Route 1: Hi | None | {"type": "default"}' in diff
assert "- Route 1: Hello | None | {}" in diff
assert "+ Route 2: Au revoir | None | {}" in diff
assert "- Route 2: Hi | None | {}" in diff
Expand Down

0 comments on commit 89b3afe

Please sign in to comment.