Lerne Taxonomie und Trefferliste live von Geizhals, damit Wizard und Kandidaten echte Quelldaten nutzen.
Deploy Development / deploy (push) Successful in 1m49s
Test Suite / pytest-backend (push) Failing after 32s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-checks (push) Successful in 30s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-04 14:53:08 +02:00
1 parent d784248e28
commit 46857715df
25 files changed
+1614 -27

No files matched your search

@@ -68,6 +68,33 @@ def test_broken_mapping_is_not_used():
assert "ram_gb" in internal
def test_multiple_xf_filters_join_with_tilde():
url, _ = generate_search_url(
category_url="https://geizhals.de/?cat=nb",
criteria_items=[
{"criterion": "ram_gb", "operator": ">=", "value": 16},
{"criterion": "gpu", "operator": ">=", "value": 8},
],
mappings=[
{
"criterion_key": "ram_gb",
"external_filter_key": "12",
"source_value": "16384",
"encoding": {"url_param": "xf"},
"status": "VERIFIED",
},
{
"criterion_key": "gpu",
"external_filter_key": "7436",
"source_value": "8192",
"encoding": {"url_param": "xf"},
"status": "VERIFIED",
},
],
)
assert "xf=12_16384~7436_8192" in url or "xf=7436_8192~12_16384" in url
def test_roundtrip_verifies_xf_and_maxp():
assert verify_roundtrip(
category_url="https://geizhals.de/?cat=nb",