[Tile-serving] [osm2pgsql-dev/osm2pgsql] BDD: remove "has rows with condition" steps (PR #2434)

Sarah Hoffmann notifications at github.com
Fri Nov 28 19:57:19 UTC 2025


The special "table has N rows with condition" step would count rows with a given WHERE condition. Most of the uses where actual workarounds for a "table doesn't contain" expression. This PR adds the latter, so that the intention can be expressed more explicitly. This new step should be used sparingly because any typo in the expression will make the test happily pass.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2434

-- Commit Summary --

  * BDD: drop "row with condition" in favour of "doesn't contain"

-- File Changes --

    M tests/bdd/flex/lua-index-definitions.feature (55)
    M tests/bdd/flex/way-change.feature (46)
    M tests/bdd/regression/forward_dependencies.feature (25)
    M tests/bdd/regression/import.feature (41)
    M tests/bdd/regression/multipolygon.feature (31)
    M tests/bdd/steps/steps_db.py (24)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2434.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2434.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2434
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2434 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20251128/59b0782b/attachment.htm>


More information about the Tile-serving mailing list