diff --git a/tests/test_instance.py b/tests/test_instance.py index 3f39664..63fc288 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py @@ -23,6 +23,8 @@ class TestInstance(unittest.TestCase): conv = os.environ["CONVERSATION"] cfg = Config.depuis_env({**os.environ, "DRY_RUN": "false", "ALLOWED_CONVERSATION_IDS": conv}) ld = LibreDesk(cfg.url, cfg.cle, cfg.secret, ecrire=True) + if not set(ld.etiquettes(conv)) <= {"tri:diagnostic"}: # déjà traitée : relancer, comme un humain + ld.etiqueter(conv, ["diag:relancer"]) avant = mailpit() mails = []