mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
bdd: replace property_list construct with standard check functions
This commit is contained in:
@@ -152,10 +152,6 @@ class GenericResponse:
|
||||
self.check_row_field(i, name, Field(value))
|
||||
|
||||
|
||||
def property_list(self, prop):
|
||||
return [x[prop] for x in self.result]
|
||||
|
||||
|
||||
def check_row(self, idx, check, msg):
|
||||
""" Assert for the condition 'check' and print 'msg' on fail together
|
||||
with the contents of the failing result.
|
||||
|
||||
Reference in New Issue
Block a user