mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-22 22:22:54 +02:00
checkpoint: Remove quotes from company names in relations
This commit is contained in:
parent
49498ad7c0
commit
2a446a9937
@ -65,7 +65,7 @@ def parse_stakeholder(data: dict) -> CompanyRelationship | None:
|
||||
**{
|
||||
"name": data["Beteiligter"]["Natuerliche_Person"]["Voller_Name"][
|
||||
"Nachname"
|
||||
],
|
||||
].replace('"', ""),
|
||||
"location": Location(
|
||||
**{
|
||||
"city": data["Beteiligter"]["Natuerliche_Person"][
|
||||
@ -130,7 +130,7 @@ def parse_stakeholder(data: dict) -> CompanyRelationship | None:
|
||||
),
|
||||
"name": data["Beteiligter"]["Organisation"]["Bezeichnung"][
|
||||
"Bezeichnung_Aktuell"
|
||||
],
|
||||
].replace('"', ""),
|
||||
"location": Location(
|
||||
**{
|
||||
"city": data["Beteiligter"]["Organisation"]["Anschrift"]["Ort"],
|
||||
|
@ -46,7 +46,7 @@ def test_parse_stakeholder_org_hidden_in_person() -> None:
|
||||
data = {
|
||||
"Beteiligter": {
|
||||
"Natuerliche_Person": {
|
||||
"Voller_Name": {"Vorname": None, "Nachname": "Some Company KG"},
|
||||
"Voller_Name": {"Vorname": None, "Nachname": '"Some Company KG'},
|
||||
"Anschrift": {"Ort": "Area 51"},
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user