Skip to content

Commit

Permalink
bugfix and test
Browse files Browse the repository at this point in the history
  • Loading branch information
gras64 committed Jun 18, 2020
1 parent 9b144da commit 4535689
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/behave/edit.your.dialogues.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ Feature: edit your dialogues
And the user replies "I couldn't find that date for you"
Then "learning" should reply with dialog from "save.update.dialog"
And the user replies "no"
Then wait some time
Then "learning" should reply with dialog from "continue.dialog"
And the user replies "no"
1 change: 1 addition & 0 deletions test/behave/learn.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Feature: learn public
When the user says "may i teach you something"
Then "learning" should reply with dialog from "begin.learning.dialog"
And the user says "top"
Then wait some time
Then "learning" should reply with dialog from "invalid.category.dialog"

Scenario: learn public
Expand Down
2 changes: 1 addition & 1 deletion test/behave/som.for.my.skill.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Feature: Something for my skill

Scenario: Something for my reminder
Given an english speaking user
When the user says "you should reminding me of eating around 8 o'clock"
When the user says "you should reminding me of eating"
Then wait some time
Then "UnknownSkill" should reply with dialog from "unknown.dialog"
And the user replies "how would it be with the reminder skill"
Expand Down
2 changes: 1 addition & 1 deletion test/behave/steps/learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def delete_learn_complete_answers(self):

@then('wait some time')
def wait_some_time(self):
time.sleep(4)
time.sleep(3)

0 comments on commit 4535689

Please sign in to comment.