From adc00f2d54619b2f1858f04644d6c8c43044a71a Mon Sep 17 00:00:00 2001 From: fcouchet Date: Fri, 5 Apr 2024 08:32:59 +0200 Subject: [PATCH] Ajout commande !manquantes Pour ticket https://forge.april.org/mindiell/hebdobot/issues/1 --- tests/test_review_hooks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_review_hooks.py b/tests/test_review_hooks.py index dc9e896..a3f71dc 100644 --- a/tests/test_review_hooks.py +++ b/tests/test_review_hooks.py @@ -400,7 +400,7 @@ def test_stop_review_no_review(bot): def test_missing_no_review(bot): - bot.test_public_message(bot.channel, OWNER, "!manquants") + bot.test_public_message(bot.channel, OWNER, "!manquantes") assert not bot.review.is_started assert len(bot.answers) == 1 assert bot.answers[0].message == f"{OWNER}, pas de revue en cours." @@ -409,7 +409,7 @@ def test_missing_no_review(bot): def test_missing_no_topic(bot): bot.test_public_message(bot.channel, OWNER, "!start") assert bot.review.is_started - bot.test_public_message(bot.channel, OWNER, "!manquants") + bot.test_public_message(bot.channel, OWNER, "!manquantes") assert len(bot.answers) == 1 assert bot.answers[0].message == "% Pas de sujet en cours." @@ -419,7 +419,7 @@ def test_missing_no_one_is_missing(bot): bot.test_public_message(bot.channel, OWNER, "## collective topic") bot.test_public_message(bot.channel, SENDER, "This is my message") bot.test_public_message(bot.channel, OWNER, "This is owner message") - bot.test_public_message(bot.channel, OWNER, "!manquants") + bot.test_public_message(bot.channel, OWNER, "!manquantes") assert len(bot.answers) == 1 assert bot.answers[0].message == "% Tout le monde s'est exprimé sur le sujet courant \\o/" @@ -431,7 +431,7 @@ def test_missing_one_is_missing(bot): bot.test_public_message(bot.channel, OWNER, "This is owner message") bot.test_public_message(bot.channel, OWNER, "## a second collective topic") bot.test_public_message(bot.channel, OWNER, "This is the second owner message") - bot.test_public_message(bot.channel, OWNER, "!manquants") + bot.test_public_message(bot.channel, OWNER, "!manquantes") assert len(bot.answers) == 1 assert bot.answers[0].message == ( "% Personnes participantes ne s'étant pas exprimées sur le "