1
0
mirror of https://github.com/django/django.git synced 2025-01-10 10:26:34 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
Nick Pope
c37f249ffa Refs #35841 -- Updated GeoIP2 test database files.
The mmdb files were taken from
679e37e18a.
2024-10-17 21:40:53 -03:00
Nick Pope
a93375e8ab Fixed #34305 -- Changed GeoIP2 tests to use MaxMind test databases.
GEOIP_SETTINGS is removed from the global scope as this prevents
modifications to the settings using @override_settings in tests.

Additional improvements now that we have stable test databases include:

- Made testing more comprehensive and improved coverage
- Patched socket.gethostbyname() for whole test case
- Added testing of non-free GeoIP2 databases

Co-authored-by: Tom Forbes <tom@tomforb.es>
2023-12-12 09:58:26 +01:00