minor: Fix imports in test_xkcd.py.

We no longer need the `future` imports and we can
use `StubBotTestCase` now.
This commit is contained in:
Steve Howell 2017-12-10 09:23:34 -06:00
parent 700ce6a673
commit f8cefc5352

View file

@ -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):