-
Notifications
You must be signed in to change notification settings - Fork 82
/
test_settings.py
46 lines (29 loc) · 953 Bytes
/
test_settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from settings import *
#from dev_settings import *
ROOT_URLCONF = 'urls'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': rel('unisubs.sqlite3'),
}
}
HAYSTACK_SOLR_URL = 'http://localhost:38983/solr/testing'
CELERY_ALWAYS_EAGER = True
INSTALLED_APPS += ('django_nose', )
INSTALLED_APPS = list(INSTALLED_APPS)
INSTALLED_APPS.remove('unisubs')
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
SITE_ID = 4
SITE_NAME = 'unisubs-dev'
TWITTER_CONSUMER_KEY = '6lHYqtxzQBD3lQ55Chi6Zg'
TWITTER_CONSUMER_SECRET = 'ApkJPIIbBKp3Wph0JBoAg2Nsk1Z5EG6PFTevNpd5Y00'
VIMEO_API_KEY = 'e1a46f832f8dfa99652781ee0b39df12'
VIMEO_API_SECRET = 'bdaeb531298eeee1'
PISTON_DISPLAY_ERRORS = True
COMPRESS_URL = "/"
RECAPTCHA_SECRET = ""
STATIC_URL = ""
COMPRESS_MEDIA = not DEBUG
STATIC_URL_BASE = STATIC_URL
if COMPRESS_MEDIA:
STATIC_URL += "%s/%s/" % (COMPRESS_OUTPUT_DIRNAME, LAST_COMMIT_GUID.split("/")[1])