Speedup the tests by using a weaker hash algo.
On my machine, it reduced the time to run the test suite from 86s to 53s. (Most of the remaining time is consumed by the integration tests spawning chrome in the background)
This commit is contained in:
parent
e9deaab2bc
commit
3cc5d3b2af
2 changed files with 8 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -16,3 +16,7 @@ if "TRAVIS" in os.environ:
|
|||
"USER": "travis",
|
||||
}
|
||||
}
|
||||
|
||||
PASSWORD_HASHERS = [
|
||||
"django.contrib.auth.hashers.MD5PasswordHasher",
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue