hebdobot/tests/test_topic.py

9 lines
268 B
Python

from tests.utils import bot, OWNER, SENDER
def test_topic_duration_not_ended(bot):
bot.test_public_message(bot.channel, SENDER, "!start")
bot.test_public_message(bot.channel, SENDER, "## collective topic")
assert bot.review.current_topic.duration != ""