Skip to content

Commit 0765d2c

Browse files
committed
Update tests for expected context
1 parent b15bd2c commit 0765d2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unittests/common_query/test_common_query.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,13 @@ def test_common_query_events(self):
9494
'lang': 'en-us'},
9595
'context': skill_ans_ctxt},
9696
# skill callback event (after response is sent to Audio service)
97+
# the destination here is `skills`
9798
{'type': 'question:action',
9899
'data': {'skill_id': 'wiki.test',
99100
'phrase': 'what is the speed of light',
100101
'callback_data': {'query': 'what is the speed of light',
101102
'answer': 'answer 1'}},
102-
'context': skill_ans_ctxt}
103+
'context': skill_ctxt}
103104
]
104105

105106
for ctr, msg in enumerate(expected):

0 commit comments

Comments
 (0)