Instance de test : préparation et test de bout en bout sans envoi
fil() écarte les activités (privées dans LibreDesk) ; les outils des agents tournent avec le Python courant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
690204a634
commit
bf8a40f5ea
1 file changed
+2
@@ -23,6 +23,8 @@ class TestInstance(unittest.TestCase):
|
|||||||
conv = os.environ["CONVERSATION"]
|
conv = os.environ["CONVERSATION"]
|
||||||
cfg = Config.depuis_env({**os.environ, "DRY_RUN": "false", "ALLOWED_CONVERSATION_IDS": conv})
|
cfg = Config.depuis_env({**os.environ, "DRY_RUN": "false", "ALLOWED_CONVERSATION_IDS": conv})
|
||||||
ld = LibreDesk(cfg.url, cfg.cle, cfg.secret, ecrire=True)
|
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()
|
avant = mailpit()
|
||||||
mails = []
|
mails = []
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user