Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Oct 31, 2017
1 parent f6bdf1d commit 4fdca73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_moodbot_example():
responses = agent.handle_message("_greet")
assert responses[0] == 'Hey! How are you?'

responses.extend(agent.handle_message("_mood_shitty"))
responses.extend(agent.handle_message("_mood_unhappy"))
assert responses[-1] in {"Did that help you?"}

# (there is a 'I am on it' message in the middle we are not checking)
Expand Down

0 comments on commit 4fdca73

Please sign in to comment.