Closed martinfleis closed 3 years ago
Might be worth adding some dev docs (comment in the workflow file?) about how those are tested (you created free personal accounts for each of those services and included a token as secrets?)
I have added a comment to the test file https://github.com/geopandas/xyzservices/blob/1886db962af2315027fe270143c48dff20eb2615/tests/test_providers.py#L89-L91 But it is true that it can be expanded. Yeah, I've created my personal tokens for this.
With this PR, all our providers are tested with two exceptions:
HERE
andAzureMaps
.HERE
contains legacy authentication requiringapp_id
andapp_code
which is not possible to obtain anymore. It has been replaced byHEREv3
withapiKey
. That one is tested.AzureMaps
have a free tier limited to 5000 requests in total, not per month. If I created a token on my account as I did with other services, it would eventually overflow and charged me. Hence not tested at the moment.