bdd: replace property_list construct with standard check functions

This commit is contained in:
Sarah Hoffmann
2023-03-09 17:55:27 +01:00
parent 01010e443f
commit 1e58cef174
2 changed files with 21 additions and 19 deletions

View File

@@ -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.