zulip_bots: Store testing conversations in lists.
This enforces the use of a list of tuples for conversations, as opposed to dicts.
This commit is contained in:
parent
8179b30873
commit
8761e47893
6 changed files with 32 additions and 39 deletions
|
@ -13,4 +13,4 @@ class TestHelpBot(BotTestCase):
|
|||
def test_bot(self):
|
||||
txt = "Info on Zulip can be found here:\nhttps://github.com/zulip/zulip"
|
||||
messages = ["", "help", "Hi, my name is abc"]
|
||||
self.check_expected_responses(dict(list(zip(messages, len(messages)*[txt]))))
|
||||
self.check_expected_responses(list(zip(messages, len(messages)*[txt])))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue