

def _start_dm_channel(self):
    'Start a slack direct messages channel with the test bot'
    response = self.slacker.im.open(self.testbot_userid)
    self.dm_chan = response.body['channel']['id']

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