Merge pull request #1405 from umap-project/almet/speedup-tests
Speedup the tests by using a weaker hash algo.
This commit is contained in:
commit
6602491511
2 changed files with 8 additions and 3 deletions
|
@ -9,10 +9,10 @@ from umap.models import Map
|
||||||
|
|
||||||
from .base import (
|
from .base import (
|
||||||
DataLayerFactory,
|
DataLayerFactory,
|
||||||
MapFactory,
|
|
||||||
UserFactory,
|
|
||||||
TileLayerFactory,
|
|
||||||
LicenceFactory,
|
LicenceFactory,
|
||||||
|
MapFactory,
|
||||||
|
TileLayerFactory,
|
||||||
|
UserFactory,
|
||||||
)
|
)
|
||||||
|
|
||||||
TMP_ROOT = tempfile.mkdtemp()
|
TMP_ROOT = tempfile.mkdtemp()
|
||||||
|
@ -80,3 +80,4 @@ def datalayer(map):
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def tilelayer():
|
def tilelayer():
|
||||||
return TileLayerFactory()
|
return TileLayerFactory()
|
||||||
|
|
||||||
|
|
|
@ -16,3 +16,7 @@ if "TRAVIS" in os.environ:
|
||||||
"USER": "travis",
|
"USER": "travis",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PASSWORD_HASHERS = [
|
||||||
|
"django.contrib.auth.hashers.MD5PasswordHasher",
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in a new issue