Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1480 from johngian/1286524
Browse files Browse the repository at this point in the history
[Fix bug 1286524] Fix BASKET_NDA_NEWSLETTER config entry.
  • Loading branch information
johngian committed Jul 13, 2016
2 parents e9f88e2 + 007b85f commit 5f0af73
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion mozillians/settings/base.py
Expand Up @@ -432,7 +432,7 @@ def COMPRESS_JINJA2_GET_ENVIRONMENT():
BASKET_URL = 'https://basket.mozilla.com'

BASKET_VOUCHED_NEWSLETTER = 'mozilla-phone'
BASKET_NDA_NEWSLETTER = 'nda-mozillians'
BASKET_NDA_NEWSLETTER = 'mozillians-nda'
NDA_GROUP = "nda"

USER_AVATAR_DIR = 'uploads/userprofile'
Expand Down
1 change: 0 additions & 1 deletion mozillians/settings/local.py-devdist
Expand Up @@ -65,7 +65,6 @@ STATSD_CLIENT = 'django_statsd.clients.log'

# Basket
BASKET_URL = 'http://127.0.0.1'
BASKET_NEWSLETTER = 'mozilla-phone'
BASKET_MANAGERS = None # or list of email addresses.

GA_ACCOUNT_CODE = None
Expand Down
1 change: 0 additions & 1 deletion mozillians/settings/local.py-docker-dist
Expand Up @@ -69,7 +69,6 @@ STATSD_CLIENT = 'django_statsd.clients.log'

# Basket
BASKET_URL = None
BASKET_NEWSLETTER = 'mozilla-phone'
BASKET_MANAGERS = None # or list of email addresses.

GA_ACCOUNT_CODE = None
Expand Down
1 change: 0 additions & 1 deletion mozillians/users/tests/test_tasks.py
Expand Up @@ -136,7 +136,6 @@ def test_email_basket_managers(self, send_mail_mock):
send_mail_mock.assert_called_with(
subject, body, 'noreply', 'basket_managers', fail_silently=False)

@override_settings(BASKET_NEWSLETTER='newsletter')
@patch('mozillians.users.tasks.BASKET_ENABLED', True)
@patch('mozillians.users.tasks.waffle.switch_is_active')
@patch('mozillians.users.tasks.basket')
Expand Down

0 comments on commit 5f0af73

Please sign in to comment.