mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 03:04:09 +01:00
jumind_de update mymuell test case and documentation cities for mkk
This commit is contained in:
@@ -31,7 +31,7 @@ TEST_CASES = {
|
||||
},
|
||||
"mymuell only city": {
|
||||
"service_id": "mymuell",
|
||||
"city": "Kipfenberg OT Arnsberg, Biberg, Dunsdorf, Schelldorf, Schambach, Mühlen im Schambachtal und Schambacher Leite, Järgerweg, Böllermühlstraße, Attenzell, Krut, Böhming, Regelmannsbrunn, Hirnstetten und Pfahldorf",
|
||||
"city": "Bad Wünnenberg-Bleiwäsche",
|
||||
},
|
||||
"neustadt": {
|
||||
"service_id": "esn",
|
||||
@@ -243,7 +243,10 @@ class Source:
|
||||
break
|
||||
|
||||
if city_id is None:
|
||||
raise Exception("City not found")
|
||||
raise Exception(
|
||||
"City not found, should be one of:"
|
||||
+ "; ".join(c["name"] for c in cities)
|
||||
)
|
||||
|
||||
if has_streets:
|
||||
r = session.get(
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user