def test_katbot_isinstance():
"""Test katbot is a bot instance."""
from telepot import Bot
from katcr.bot import KATBot
assert issubclass(KATBot, Bot)
opts = {'--token': "foo", '--shortener': ''}
assert isinstance(KATBot(opts), Bot)
评论列表
文章目录