hebdobot/tests/test_topic.py

9 lines
263 B
Python
Raw Normal View History

2024-01-11 08:17:25 +01:00
from tests.utils import bot, CHANNEL, OWNER, SENDER
def test_topic_duration_not_ended(bot):
bot.on_public_message(CHANNEL, OWNER, "!start")
bot.on_public_message(CHANNEL, OWNER, "## collective topic")
assert bot.review.current_topic.duration != ""