forked from hans/Nominatim
bdd: complete coverage for API tests
Also removes some functions that are no longer used and fixes debug output where the tests found an issue.
This commit is contained in:
@@ -50,7 +50,7 @@ class GenericResponse:
|
||||
self.result = []
|
||||
self.header = dict()
|
||||
|
||||
if errorcode == 200:
|
||||
if errorcode == 200 and fmt != 'debug':
|
||||
getattr(self, '_parse_' + fmt)()
|
||||
|
||||
def _parse_json(self):
|
||||
|
||||
Reference in New Issue
Block a user