

def wait_for_bot_direct_messages(self, matches):
    for match in matches:
        self._wait_for_bot_message(self.dm_chan, match, tosender=False)

dataset/ETHPy150Open lins05/slackbot/tests/functional/driver.py Driver.wait_for_bot_direct_messages/original