Skip to content

Commit

Permalink
updated failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
bhatsanket authored and italojohnny committed Nov 11, 2024
1 parent 7078467 commit b9fbce6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def test_from_message():
ParseJSONDataComponent,
inputs={
"input_value": ComponentInputHandle(clazz=ChatInput, inputs={}, output_name="message"),
"query": ".[0].key",
"query": ".key",
},
run_input="{'key':'value1'}",
)
Expand All @@ -47,7 +47,7 @@ async def test_from_message():
ParseJSONDataComponent,
inputs={
"input_value": ComponentInputHandle(clazz=ChatInput, inputs={}, output_name="message"),
"query": ".[0].key.[0].field2",
"query": ".key.[0].field2",
},
run_input='{"key":[{"field1": 1, "field2": 2}]}',
)
Expand Down

0 comments on commit b9fbce6

Please sign in to comment.