diff --git a/umap/tests/conftest.py b/umap/tests/conftest.py index 3465994b..5cbe7031 100644 --- a/umap/tests/conftest.py +++ b/umap/tests/conftest.py @@ -9,10 +9,10 @@ from umap.models import Map from .base import ( DataLayerFactory, - MapFactory, - UserFactory, - TileLayerFactory, LicenceFactory, + MapFactory, + TileLayerFactory, + UserFactory, ) TMP_ROOT = tempfile.mkdtemp() @@ -80,3 +80,4 @@ def datalayer(map): @pytest.fixture def tilelayer(): return TileLayerFactory() + diff --git a/umap/tests/settings.py b/umap/tests/settings.py index d8706f5d..6d2b28bb 100644 --- a/umap/tests/settings.py +++ b/umap/tests/settings.py @@ -16,3 +16,7 @@ if "TRAVIS" in os.environ: "USER": "travis", } } + +PASSWORD_HASHERS = [ + "django.contrib.auth.hashers.MD5PasswordHasher", +]