Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jan 10, 2025
1 parent 3c5de47 commit bd7abf7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions test/end2end/session/test_ocp.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ def wait_for_n_messages(n):
"ovos.common_play.search.end",
# no good results
"ovos.common_play.reset",


# TODO - this is now matching ??
# "add_context",
# "ovos.common_play.play",
# "ovos.common_play.search.populate",
"speak", # error,
"ovos.utterance.handled" # handle_utterance returned (intent service)
]
Expand Down Expand Up @@ -146,7 +150,9 @@ def wait_for_n_messages(n):
"ovos.common_play.SEI.get", # request info again, cause player didnt answer before
"ovos.common_play.search.end",
"ovos.common_play.reset",


# TODO - it is matching here now?

"speak", # nothing to play
"ovos.utterance.handled" # handle_utterance returned (intent service)
]
Expand Down Expand Up @@ -351,11 +357,17 @@ def wait_for_n_messages(n):
# skill searching (generic)
"ovos.common_play.skill.search_start",
"ovos.common_play.query.response",
"ovos.common_play.query.response",
"ovos.common_play.query.response",
"ovos.common_play.query.response",
"ovos.common_play.query.response",
"ovos.common_play.skill.search_end",
"ovos.common_play.search.end",
# no good results
"ovos.common_play.reset",


# TODO - it is matching here now?

"speak", # error
"ovos.utterance.handled" # handle_utterance returned (intent service)
]
Expand Down
2 changes: 1 addition & 1 deletion test/end2end/skill-fake-fm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, *args, **kwargs):

@ocp_search()
def search_fakefm(self, phrase, media_type):
score = 50
score = 30
if "fake" in phrase:
score += 35
if media_type == MediaType.RADIO:
Expand Down

0 comments on commit bd7abf7

Please sign in to comment.