From 5b2334ce7942cec078cf4e4bca6044ea134f0a4c Mon Sep 17 00:00:00 2001 From: timu Date: Sat, 18 Jul 2026 02:35:42 +0200 Subject: [PATCH] ibo-CI: test_extract_link.py -> check_extract_link.py (manuelles Skript, kein pytest-Test) pytest sammelte die Funktion test_extract(email,token) faelschlich als Test ein (fixture 'email' not found). Umbenannt in ein klar erkennbares Hilfsskript, damit der CI-Guard 'ls test_*.py' sauberer skippt. Co-Authored-By: Claude Opus 4.8 (1M context) --- test_extract_link.py => check_extract_link.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename test_extract_link.py => check_extract_link.py (82%) diff --git a/test_extract_link.py b/check_extract_link.py similarity index 82% rename from test_extract_link.py rename to check_extract_link.py index 43f7232..ccbb0a3 100644 --- a/test_extract_link.py +++ b/check_extract_link.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 """ -Test-Script: Mail abrufen und Link extrahieren. +Hilfsskript (manuell, KEIN pytest-Test): Mail abrufen und Link extrahieren. Verwendung: - python test_extract_link.py eg5gyqjqp5@web-library.net TOKEN_HIER + python check_extract_link.py eg5gyqjqp5@web-library.net TOKEN_HIER oder: Token aus app.py Step 1 Tabelle kopieren """ @@ -13,7 +13,7 @@ import json from mailtm import list_messages, get_message_html from core import extract_form_link -def test_extract(email, token): +def run_extract(email, token): print(f"📧 Abrufen von Mails fuer: {email}") print(f"🔑 Token: {token[:20]}...") print() @@ -59,12 +59,12 @@ def test_extract(email, token): if __name__ == "__main__": if len(sys.argv) < 3: print("Verwendung:") - print(" python test_extract_link.py EMAIL TOKEN") + print(" python check_extract_link.py EMAIL TOKEN") print() print("Beispiel:") - print(" python test_extract_link.py eg5gyqjqp5@web-library.net abc123xyz...") + print(" python check_extract_link.py eg5gyqjqp5@web-library.net abc123xyz...") sys.exit(1) email = sys.argv[1] token = sys.argv[2] - test_extract(email, token) + run_extract(email, token)