X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a32f6c66b8c4c5c985f3ae71577404d76716d6e6..91e1e4d614edcd13dc19ac1409a9cf812ead964c:/tests/steps/terrain.py diff --git a/tests/steps/terrain.py b/tests/steps/terrain.py index 0a4495e0..80beebd5 100644 --- a/tests/steps/terrain.py +++ b/tests/steps/terrain.py @@ -123,16 +123,19 @@ def match_geometry(coord, matchstring): logger.debug("Distances expected: %f, got: %f" % (expdist, dist)) assert dist <= expdist, "Geometry too far away, expected: %f, got: %f" % (expdist, dist) +@world.absorb +def print_statement(element): + print '\n\n\n'+str(element)+'\n\n\n' @world.absorb def db_dump_table(table): cur = world.conn.cursor() cur.execute('SELECT * FROM %s' % table) - print '<<<<<<< BEGIN OF TABLE DUMP %s' % table + print '\n\n\n<<<<<<< BEGIN OF TABLE DUMP %s' % table for res in cur: print res - print '<<<<<<< END OF TABLE DUMP %s' % table + print '<<<<<<< END OF TABLE DUMP %s\n\n\n' % table @world.absorb def db_drop_database(name):