Add testcases for various housenumber types#28
Add testcases for various housenumber types#28yohanboniface merged 3 commits intogeocoders:masterfrom
Conversation
Signed-off-by: Holger Bruch <[email protected]>
nlehuby
left a comment
There was a problem hiding this comment.
👍
If you don't use the lon, lat limit, expected_name and expected_postcode columns, you don't need to add them in your test file.
Signed-off-by: Holger Bruch <[email protected]>
|
@yohanboniface do you want to review this PR? Otherwise, I'll merge it. |
|
I just noticed I need to provide lang=de, so geocoder instances defaulting to english would return 'Hannover' instead of 'Hannover'. |
|
Another question: are there any conventions for the names of subfolders, e.g. modelling the osm admin-level hierarchy? Probably I should then rename the folder to niedersachsen? |
Signed-off-by: Holger Bruch <[email protected]>
There is no convention at this level. The constraint is that every subfolder is automatically transformed as a tag (so it can be used as filters when running py.test) so for example it should not contain dashes (otherwise they are parsed as "minus" by pytest). |
clean the repository by deleting useless files
Add some testcases for housenumbers with various suffixes, case variations, hyphenation etc.