mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
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>
This commit is contained in:
committed by
Mariusz Felisiak
parent
ed4f83782d
commit
a93375e8ab
4
tests/gis_tests/data/geoip2/LICENSE
Normal file
4
tests/gis_tests/data/geoip2/LICENSE
Normal file
@@ -0,0 +1,4 @@
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
||||
Unported License. To view a copy of this license, visit
|
||||
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
|
||||
Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
|
||||
Reference in New Issue
Block a user