Closed koldunovn closed 3 months ago
For tests we have to mock response from the server, as this is not what we can influence. For example here: https://github.com/koldunovn/climsight/blob/bab1a8f960c43e835076e076ad8268abe8b7d6b6/test/test_geofunctions.py#L79
I would just mock response from nominatim, otherwise we depend on it's mercy :)
For tests we have to mock response from the server, as this is not what we can influence. For example here: https://github.com/koldunovn/climsight/blob/bab1a8f960c43e835076e076ad8268abe8b7d6b6/test/test_geofunctions.py#L79
I would just mock response from nominatim, otherwise we depend on it's mercy :)