forked from hans/Nominatim
bdd: add tests for valid debug output
This commit is contained in:
@@ -103,3 +103,16 @@ Feature: Object details
|
||||
| category | type | admin_level |
|
||||
| place | postcode | 15 |
|
||||
And result has not attributes osm_type,osm_id
|
||||
|
||||
|
||||
@v1-api-python-only
|
||||
Scenario Outline: Details debug output returns no errors
|
||||
When sending debug details query for <feature>
|
||||
Then the result is valid html
|
||||
|
||||
Examples:
|
||||
| feature |
|
||||
| N5484325405 |
|
||||
| W1 |
|
||||
| 112820 |
|
||||
| 112871 |
|
||||
|
||||
@@ -132,6 +132,8 @@ Feature: Simple Reverse Tests
|
||||
| Nan | 8.448 |
|
||||
| 48.966 | Nan |
|
||||
|
||||
Scenario: Reverse Debug output returns no errors
|
||||
|
||||
@v1-api-python-only
|
||||
Scenario: Reverse Debug output returns no errors
|
||||
When sending debug reverse coordinates 47.11,9.57
|
||||
Then a HTTP 200 is returned
|
||||
Then the result is valid html
|
||||
|
||||
Reference in New Issue
Block a user