Skip to content

Commit

Permalink
Merge pull request #2 from forslund/test-issues
Browse files Browse the repository at this point in the history
Test issues
  • Loading branch information
samclane authored Sep 12, 2018
2 parents 11c4807 + 5d51aec commit 0d0107d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion regex/en-us/Percent.rx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(?P<Percent>100?%|[0-9][0-9]?%)(\D|$)
.*?(?P<Percent>\d+%)
5 changes: 4 additions & 1 deletion test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@ def test_runner(skill, example, emitter, loader):
s.register_vocabulary("Bedroom", "Target")
s.register_vocabulary("Room 1", "Target")

return SkillTest(skill, example, emitter).run(loader)
res = SkillTest(skill, example, emitter).run(loader)
if example.endswith('006.handle_toggle_context.intent.json'):
s.remove_context('Target')
return res

0 comments on commit 0d0107d

Please sign in to comment.