Skip to content

Commit a1972d0

Browse files
committed
tweak Austrian (AT) remove "Politischer Bezirk", with test
1 parent 8444a0c commit a1972d0

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

conf/countries/worldwide.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ AS:
337337
# Austria
338338
AT:
339339
address_template: *generic1
340+
replace:
341+
- ["^Politischer Bezirk ",""]
340342

341343
# Australia
342344
AU:

testcases/countries/at.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,16 @@ expected: |
1414
Stauffenstraße 5
1515
5020 Salzburg
1616
Austria
17+
---
18+
description: clean up Politischer Bezirk
19+
components:
20+
country: Austria
21+
country_code: at
22+
county: Politischer Bezirk Schärding
23+
local_administrative_area: Riedau
24+
state: Upper Austria
25+
expected: |
26+
Riedau
27+
Schärding
28+
Austria
1729

0 commit comments

Comments
 (0)