[Tile-serving] [openstreetmap/osm2pgsql] Allow conninfo string in -d/--database option (#1281)

Sarah Hoffmann notifications at github.com
Tue Oct 6 08:23:22 UTC 2020


> As far as I can see, all regression tests just use the same line cmdline.extend(('-d', CONFIG['test_database'])) in def run_import. I am not sure how to best bring this in there.

I'd suggest to call the `extend()` only if `params` does not contain a `-d` or `--database` already. The you can add a special `-d` to some of the tests (or have a separate test for it).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1281#issuecomment-704113032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201006/7e0f03cc/attachment.htm>


More information about the Tile-serving mailing list