From 3e06c82dbef1a7e8d45dbe218650f4c9ab28dc9d Mon Sep 17 00:00:00 2001 From: Alex Dusenbery Date: Tue, 5 Jul 2022 11:52:07 -0400 Subject: [PATCH] feat: expose new offer limit email task in api namespace --- ecommerce_worker/email/v1/api.py | 1 + ecommerce_worker/email/v1/tests/test_api.py | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ecommerce_worker/email/v1/api.py b/ecommerce_worker/email/v1/api.py index b96906e5..830c7974 100644 --- a/ecommerce_worker/email/v1/api.py +++ b/ecommerce_worker/email/v1/api.py @@ -5,6 +5,7 @@ # Celery tasks from .tasks import ( + send_api_triggered_offer_usage_email, send_code_assignment_nudge_email, send_offer_assignment_email, send_offer_update_email, diff --git a/ecommerce_worker/email/v1/tests/test_api.py b/ecommerce_worker/email/v1/tests/test_api.py index 155d184a..2ddb0fbd 100644 --- a/ecommerce_worker/email/v1/tests/test_api.py +++ b/ecommerce_worker/email/v1/tests/test_api.py @@ -15,6 +15,7 @@ def test_public_api(self): """ assert [k for k, v in getmembers(api) if not k.startswith('_')] == [ 'did_email_bounce', + 'send_api_triggered_offer_usage_email', 'send_code_assignment_nudge_email', 'send_offer_assignment_email', 'send_offer_update_email', diff --git a/setup.py b/setup.py index dc4c3755..42313afc 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def is_requirement(line): setup( name='edx-ecommerce-worker', - version='3.3.0', + version='3.3.1', description='Celery tasks supporting the operations of edX\'s ecommerce service', long_description=long_description, classifiers=[