Fix #648: Improved test suite speed by reducing / disabling expensive operations

This commit is contained in:
Eliot Berriot 2019-01-04 11:47:23 +01:00
parent 17cb09fdc6
commit 7657db4212
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
8 changed files with 32 additions and 6 deletions

View file

@ -592,3 +592,7 @@ VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = {
]
}
VERSATILEIMAGEFIELD_SETTINGS = {"create_images_on_demand": False}
RSA_KEY_SIZE = 2048
# for performance gain in tests, since we don't need to actually create the
# thumbnails
CREATE_IMAGE_THUMBNAILS = env.bool("CREATE_IMAGE_THUMBNAILS", default=True)