fix: Geruest-Zeilen im Sivas-Export in Dispogruppe 30 statt 20

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 13:32:55 +01:00
parent e2237fde10
commit 9fb43b3881
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -969,7 +969,7 @@ def process_blocks(blocks, anzahl_weichen_ils=0):
"sivasnr": artinr, "sivasnr": artinr,
"sivasnr_quoted": True, "sivasnr_quoted": True,
"bezeichnung": attribs.get("BEZEICHNUNG", ""), "bezeichnung": attribs.get("BEZEICHNUNG", ""),
"dispgruppe": 20, "dispgruppe": 30,
"anzahl": anzahl, "anzahl": anzahl,
"laenge_mm": attribs.get("LAENGE", ""), "laenge_mm": attribs.get("LAENGE", ""),
"ids": [get_id(block)], "ids": [get_id(block)],
+1 -1
View File
@@ -100,7 +100,7 @@ def test_geruest_unveraendert():
assert zeilen["825002022"]["anzahl"] == 2 assert zeilen["825002022"]["anzahl"] == 2
assert zeilen["825002022"]["teileart"] == "Geruest Saeule 2 Zoll" assert zeilen["825002022"]["teileart"] == "Geruest Saeule 2 Zoll"
assert zeilen["825002022"]["ids"] == ["0060"] assert zeilen["825002022"]["ids"] == ["0060"]
assert zeilen["825002022"]["dispgruppe"] == 20 assert zeilen["825002022"]["dispgruppe"] == 30
# Ohne TEILEFARBE kein Farb-Merkmal # Ohne TEILEFARBE kein Farb-Merkmal
assert zeilen["825002022"]["details"] == {} assert zeilen["825002022"]["details"] == {}