Skip to content

Commit

Permalink
Update tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed Jan 23, 2024
1 parent 21113ba commit 49d8866
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/helpers/test_script.py
Expand Up @@ -5549,7 +5549,12 @@ async def test_conversation_response_subscript_if(
assert result.conversation_response == response

expected_trace = {
"0": [{"result": {"conversation_response": "Testing 123"}}],
"0": [
{
"result": {"conversation_response": "Testing 123"},
"variables": {"var": var},
}
],
"1": [{"result": {"choice": choice}}],
"1/if": [{"result": {"result": if_result}}],
"1/if/condition/0": [{"result": {"result": var == 1, "entities": []}}],
Expand Down Expand Up @@ -5588,7 +5593,12 @@ async def test_conversation_response_not_set_subscript_if(
assert result.conversation_response == "Testing 123"

expected_trace = {
"0": [{"result": {"conversation_response": "Testing 123"}}],
"0": [
{
"result": {"conversation_response": "Testing 123"},
"variables": {"var": var},
}
],
"1": [{"result": {"choice": choice}}],
"1/if": [{"result": {"result": if_result}}],
"1/if/condition/0": [{"result": {"result": var == 1, "entities": []}}],
Expand Down

0 comments on commit 49d8866

Please sign in to comment.