hebdobot/tests/test_topic.py

9 lines
268 B
Python
Raw Permalink Normal View History

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