]> git.openstreetmap.org Git - nominatim.git/commit
bdd: move Response classes in own file and simplify
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 4 Jan 2021 21:18:01 +0000 (22:18 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 5 Jan 2021 09:03:47 +0000 (10:03 +0100)
commit8a93f8ed94d04fed67824366b1691aa62b2c8a1d
treebab132fa49617cdecd3b78b8b93de4ae9ede3b60
parent2712c5f90ee9e15d69424e367c7e53ab2a579f7b
bdd: move Response classes in own file and simplify

Removes most of the duplicated parse functions, introduces
a common assert_field function with a more expressive error
message.
test/bdd/steps/http_responses.py [new file with mode: 0644]
test/bdd/steps/steps_api_queries.py [moved from test/bdd/steps/queries.py with 64% similarity]
test/bdd/steps/steps_osm_data.py