Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 66 lines (49 sloc) 1.749 kB
32779e7 @kumar303 Explain the settings_test I pushed earlier
kumar303 authored
1 # This file overrides what's in your webpay/settings/local.py while
2 # testing.
3
e460d5b @kumar303 Activate celery by default (bug 857314)
kumar303 authored
4 CELERY_ALWAYS_EAGER = True
5
32779e7 @kumar303 Explain the settings_test I pushed earlier
kumar303 authored
6 # This tells the runner to skip the Solitude client lib tests.
7 # If you set this to a URL it should look like http://localhost:9000
8 # but you probably don't want to use your local dev server.
c2f7b88 @kumar303 Adds test settings to skip solitude server tests
kumar303 authored
9 SOLITUDE_URL = None
7f111a8 @andymckay add in template_debug for jingo bug
andymckay authored
10
11 # A bug in jingo, it will only send the signal to allow test cases to properly
12 # inspect the result if this is set.
13 TEMPLATE_DEBUG = True
6fb85a9 @kumar303 Hide more things behind the fake_payments flag
kumar303 authored
14
aa01f14 @wraithan add SITE_URL to test settings to remove a warning
wraithan authored
15 # This is the domain that the tests use, setting this removes a warning that
16 # persona throws.
17 SITE_URL = 'http://testserver'
2959797 @kumar303 maybe fix compress_url error in tests
kumar303 authored
18
9cd70aa @kumar303 Simulate in-app payment to develop (bug 834410)
kumar303 authored
19 ALLOW_SIMULATE = True
7774d73 @kumar303 Make sure tests never hit persona
kumar303 authored
20
21 BROWSERID_DOMAIN = 'nowhereatall.org'
22 BROWSERID_UNVERIFIED_ISSUER = BROWSERID_DOMAIN
23 BROWSERID_VERIFICATION_URL = 'https://%s/verify' % BROWSERID_DOMAIN
388dfad @kumar303 Disable real payments, allow sim. (bug 844301)
kumar303 authored
24 ONLY_SIMULATIONS = False
70f34db @kumar303 Disable product icons for auth issues (bug 864451)
kumar303 authored
25 USE_PRODUCT_ICONS = True
3af925d @andymckay send oauth headers on marketplace (bug 859560)
andymckay authored
26
27 # Blockage will prevent us calling this, but we should point it to somewhere.
737d997 @andymckay provide url for tests (bug 858813)
andymckay authored
28 MARKETPLACE_URL = SOLITUDE_URL = 'http://example.com'
0a8cbac @andymckay allow a user whitelist (bug 879360)
andymckay authored
29
30 # If you want test this, do so explicitly in the tests.
31 USER_WHITELIST = []
c8a4927 @kumar303 HMAC for better secrecy (related to bug 877923)
kumar303 authored
32 UUID_HMAC_KEY = 'this is a test value'
7d2cae8 @kumar303 Allow admin/reviewer simulations (bug 871646)
kumar303 authored
33
34 ALLOW_ADMIN_SIMULATIONS = True
4d187b1 @kumar303 Redirect to zippy start url (bug 936122)
kumar303 authored
35 PAYMENT_PROVIDER = 'bango'
4da7c52 @kumar303 Fix logout URL
kumar303 authored
36
37 PAY_URLS = {
38 'bango': {
39 'base': 'http://mozilla.test.bango.org',
40 'pay': '/mozpayments/?bcid={uid_pay}',
41 'logout': '/mozpayments/logout/',
42 },
43 'reference': {
44 'base': 'https://zippy.paas.allizom.org',
2caaee8 @davidbgk Using the right URL to start a zippy payment (bug 951933)
davidbgk authored
45 'pay': '/payment/start?tx={uid_pay}',
f3e88df @davidbgk Adding the fake ability to reset a user in zippy (bug 942330)
davidbgk authored
46 'logout': '/users/reset',
4da7c52 @kumar303 Fix logout URL
kumar303 authored
47 },
48 }
3f528b6 @muffinresearch Add basic SPA url
muffinresearch authored
49
cc333a9 @andymckay cache the price point (bug 944389)
andymckay authored
50 CACHES = {
51 'default': {
52 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
53 }
54 }
55
f21cbb2 @andymckay use cache nugget (bug 971330)
andymckay authored
56 CACHE_PREFIX = 'webpay:test'
57
41a6eba @mstriemer Bust spartacus asset caches (bug 1014564)
mstriemer authored
58 SPARTACUS_BUILD_ID_KEY = 'spartacus-build-id'
abe439a @mstriemer Set SPARTACUS_STATIC in settings_test
mstriemer authored
59 SPARTACUS_STATIC = '/mozpay/media'
41a6eba @mstriemer Bust spartacus asset caches (bug 1014564)
mstriemer authored
60
6e4027a @kumar303 Disable payments for Android on prod (bug 976192)
kumar303 authored
61 ALLOW_ANDROID_PAYMENTS = True
ec8972b @andymckay get boku working in test
andymckay authored
62
61d3b05 @kumar303 Redirect to a Boku start page (bug 987839)
kumar303 authored
63 SIMULATED_NETWORK = None
e40f6fd @mstriemer Add a default for IN_TEST_SUITE
mstriemer authored
64
65 IN_TEST_SUITE = True
Something went wrong with that request. Please try again.