[openstreetmap/openstreetmap-website] Test Nominatim.describe_location (PR #4974)
Tom Hughes
notifications at github.com
Wed Jul 10 18:16:44 UTC 2024
Sorry I misunderstood what you were saying... I thought you had worked around it.
The problem is that `OSM.http_client` only creates the client once, the first time it is called, so what user agent is used depends on what order the tests run in.
I think we can just make the test check that the user agent is `test.host` instead of trying to change it.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4974#issuecomment-2221154800
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4974/c2221154800 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240710/ec65c0e2/attachment.htm>
More information about the rails-dev
mailing list