X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/caea14d0357a1e0a901dfac82febc834aec95f0f..c3238682a8867edfb3c052ca4d2d27b3926ad17a:/test/bdd/steps/db_ops.py?ds=sidebyside diff --git a/test/bdd/steps/db_ops.py b/test/bdd/steps/db_ops.py index 377c977d..2b012c41 100644 --- a/test/bdd/steps/db_ops.py +++ b/test/bdd/steps/db_ops.py @@ -487,8 +487,8 @@ def check_search_name_contents(context, exclude): """, (terms, words)) if not exclude: - ok_(subcur.rowcount >= len(terms), - "No word entry found for " + row[h]) + ok_(subcur.rowcount >= len(terms) + len(words), + "No word entry found for " + row[h] + ". Entries found: " + str(subcur.rowcount)) for wid in subcur: if exclude: assert_not_in(wid[0], res[h],