Use UTC timezone in tests

This prevents Django from converting times in tests
pull/383/head^2
Karl Hobley 2014-07-03 13:44:11 +01:00
rodzic 3dc83a961f
commit 735cfe3767
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -43,6 +43,7 @@ if not settings.configured:
STATIC_ROOT=STATIC_ROOT,
MEDIA_ROOT=MEDIA_ROOT,
USE_TZ=True,
TIME_ZONE='UTC',
STATICFILES_FINDERS=(
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'compressor.finders.CompressorFinder',