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:
parent
700ce6a673
commit
f8cefc5352
|
@ -1,13 +1,10 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import mock
|
import mock
|
||||||
from mock import MagicMock, patch
|
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"
|
bot_name = "xkcd"
|
||||||
|
|
||||||
def test_latest_command(self):
|
def test_latest_command(self):
|
||||||
|
|
Loading…
Reference in a new issue