def test_get_channel_none(): channel = SlackChannel.get_channel(SlackClient('xxx'), 'doesnotexist') assert channel is None