Uebernimm Enum-Listen und Filtergruppen in die Taxonomie, speichere Suchtreffer als Kandidaten und lasse CI das vorhandene API-Image nutzen.
Deploy Development / deploy (push) Successful in 2m6s
Test Suite / pytest-backend (push) Failing after 14s
Test Suite / smoke-dev (push) Successful in 1s
Test Suite / frontend-checks (push) Successful in 28s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-04 15:12:51 +02:00
1 parent 2117ca6b54
commit 68a8e3d945
23 files changed
+481 -118

No files matched your search

@@ -95,6 +95,24 @@ def test_multiple_xf_filters_join_with_tilde():
assert "xf=12_16384~7436_8192" in url or "xf=7436_8192~12_16384" in url
def test_enum_uses_selected_option_not_first_mapping_value():
url, _ = generate_search_url(
category_url="https://geizhals.de/?cat=nb",
criteria_items=[{"criterion": "hersteller", "operator": "=", "value": "Lenovo"}],
mappings=[
{
"criterion_key": "hersteller",
"external_filter_key": "1",
"source_value": "Apple",
"encoding": {"url_param": "xf", "options": {"Apple": "Apple", "Lenovo": "Lenovo"}},
"status": "VERIFIED",
}
],
)
assert "xf=1_Lenovo" in url
assert "Apple" not in url
def test_roundtrip_verifies_xf_and_maxp():
assert verify_roundtrip(
category_url="https://geizhals.de/?cat=nb",