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.
This commit is contained in:
Sarah Hoffmann
2021-01-04 22:18:01 +01:00
parent 2712c5f90e
commit 8a93f8ed94
3 changed files with 201 additions and 213 deletions

View File

@@ -35,7 +35,7 @@ def define_node_grid(context, grid_step):
grid_step = 0.00001
context.osm.set_grid([context.table.headings] + [list(h) for h in context.table],
grid_step)
grid_step)
@when(u'loading osm data')