From f8cefc53521035e8df52a240d1bca2aae62deebc Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Sun, 10 Dec 2017 09:23:34 -0600 Subject: [PATCH] minor: Fix imports in test_xkcd.py. We no longer need the `future` imports and we can use `StubBotTestCase` now. --- zulip_bots/zulip_bots/bots/xkcd/test_xkcd.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/zulip_bots/zulip_bots/bots/xkcd/test_xkcd.py b/zulip_bots/zulip_bots/bots/xkcd/test_xkcd.py index c07565d..fec7393 100755 --- a/zulip_bots/zulip_bots/bots/xkcd/test_xkcd.py +++ b/zulip_bots/zulip_bots/bots/xkcd/test_xkcd.py @@ -1,13 +1,10 @@ #!/usr/bin/env python -from __future__ import absolute_import -from __future__ import print_function - import mock from mock import MagicMock, patch -from zulip_bots.test_lib import BotTestCase +from zulip_bots.test_lib import StubBotTestCase -class TestXkcdBot(BotTestCase): +class TestXkcdBot(StubBotTestCase): bot_name = "xkcd" def test_latest_command(self):