]> git.openstreetmap.org Git - nominatim.git/commit
bdd: reorganise field comparisons
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 9 Mar 2023 16:05:05 +0000 (17:05 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 9 Mar 2023 16:05:05 +0000 (17:05 +0100)
commitda0a7a765e57ea2e22caa6d70b5058c7c148d3bd
tree124faeb8d2cba3dc41b23b628034c9c49a232005
parent9769a0dcdb6f489c6b7857281c24f1b680bcdd87
bdd: reorganise field comparisons

Move comparision on Field values from assert_field() into a
comparator class. Replace BadRowValueAssert with a simpler
check_row() function.
test/bdd/steps/check_functions.py
test/bdd/steps/http_responses.py