Lerne Taxonomie und Trefferliste live von Geizhals, damit Wizard und Kandidaten echte Quelldaten nutzen.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d784248e28
commit
46857715df
25 files changed
+1614
-27
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import json
|
||||
import os
|
||||
from datetime import datetime, timezone
|
||||
from decimal import Decimal
|
||||
from pathlib import Path
|
||||
@@ -6,6 +7,8 @@ from uuid import UUID, uuid4
|
||||
|
||||
import pytest
|
||||
|
||||
os.environ.setdefault("GEIZHALS_USE_FIXTURES", "1")
|
||||
|
||||
from app.domain.enums import Availability, NormalizationStatus, OfferCondition, ValueType
|
||||
from app.domain.models import (
|
||||
AttributeDefinition,
|
||||
@@ -17,7 +20,17 @@ from app.domain.models import (
|
||||
)
|
||||
from app.domain.validation import parse_profile, parse_scoring_model
|
||||
|
||||
from app.settings import get_settings
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _geizhals_fixtures(monkeypatch):
|
||||
monkeypatch.setenv("GEIZHALS_USE_FIXTURES", "1")
|
||||
get_settings.cache_clear()
|
||||
yield
|
||||
get_settings.cache_clear()
|
||||
AS_OF = datetime(2026, 10, 3, 12, 0, tzinfo=timezone.utc)
|
||||
CUTOFF = datetime(2026, 10, 3, 12, 0, tzinfo=timezone.utc)
|
||||
|
||||
|
||||
Reference in new issue
Block a user