Commit Graph

80 Commits

Author SHA1 Message Date
Awais Jibran
74341b7dd5 Convert date to lower if language is spainish. 2018-03-12 15:57:25 +05:00
Nimisha Asthagiri
a1047794e8 Schedules: Fix date translation of upsell messaging 2018-01-03 11:53:09 -05:00
Nimisha Asthagiri
549f4b661e Schedules: Add celery task logging 2017-12-04 14:16:27 -05:00
Nimisha Asthagiri
61f4ceca5b Schedules: Emulate HTTP request needs to include host information 2017-12-03 23:57:12 -05:00
Calen Pennington
48abc492ae Fix linting errors from https://github.com/edx/edx-platform/pull/16615 2017-11-22 14:47:49 -05:00
Ned Batchelder
a2e2aace82 Merge pull request #16650 from edx/nedbat/fix-unused-imports
Fix a number of unused-import pylint violations
2017-11-22 11:17:07 -05:00
Calen Pennington
7aa1a3460b Merge pull request #16615 from edx/cale/schedules-admin-improvements
Cale/schedules admin improvements
2017-11-21 22:06:37 -05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
sandroroux
98233c0a84 New management command for setting up a test environment. The command creates a ScheduleConfig and schedules if they don't exist (the schedule starts three days before the time the command is run). If a schedule already exists, the command updates the schedule's start time and upgrade deadline. The values set by the command will allow send_recurring_nudge to send three-day nudges. 2017-11-21 14:25:55 -05:00
Gabe Mulley
7dbe2cd89d ensure landing page for scheduled emails is not a redirect 2017-11-20 07:12:31 -05:00
Gabe Mulley
6f20cd5cf2 support a GA tracking pixel 2017-11-15 08:35:35 -05:00
Gabe Mulley
54ae1c6238 support theming of ACE emails 2017-11-09 11:16:26 -05:00
John Eskew
80d70f6ecb Run all touched files through isort. 2017-11-09 09:25:19 -05:00
John Eskew
6672f64188 Add commerce AppConfig and use to register signals. Move imports.
Add explicit 'lms.djangoapps' prefix to all commerce imports, as another
commerce Django app exists at openedx.core.djangoapps.commerce
2017-11-09 09:24:37 -05:00
Gabe Mulley
7fd643faa4 Add tests for experience types, ensure courses have a verified mode 2017-11-01 16:51:10 -04:00
Gabe Mulley
95d1e5c25e use a left outer join for experience types 2017-11-01 16:50:28 -04:00
Nimisha Asthagiri
da95676e10 Schedules: rename test class variables that aren't test methods 2017-10-30 14:14:00 -04:00
Nimisha Asthagiri
08d31e1a43 Schedules: Tests for Course Update messages 2017-10-30 14:13:59 -04:00
Nimisha Asthagiri
de037c9c3c Schedule: refactor upsell test cases 2017-10-29 23:49:43 -04:00
Nimisha Asthagiri
b461ce0c27 Rename test files and class name 2017-10-26 18:54:50 -04:00
Nimisha Asthagiri
ea8da6737e Update tests to support org queries 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
f1ceb86fa9 Remove unneeded imports/etc from schedules management command test classes 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
185f35b17a Optimize remaining tests in schedule management command TestUpgradeReminder class 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
74307e45e8 Remove query constants from schedules management command test subclasses 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
a72df1f9d5 Add _get_dates helper method to the schedules management command base test class 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
346a2bcf2a Move _calculate_bin_for_user into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
82978e516c Move test_template into the schedules management command base test classs 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
1ad8cd01f5 Move test_multiple_enrollments into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
b852025ab3 Move test_course_end into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
1bb23a1350 Move test_site_config into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
81da729af7 Move test_enqeue_config into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
9e99489a46 Move test_deliver_config into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
2adbac03f8 fixup! Move test_resolver_send into the schedule management command base class 2017-10-26 18:41:55 -04:00
Nimisha Asthagiri
eac5f21cc1 Move test_no_course_overview into the schedules management command base test class 2017-10-26 18:41:55 -04:00
Calen Pennington
e5f84b3dd9 Move test_schedule_bin into the schedules management command base test class 2017-10-26 18:41:55 -04:00
Calen Pennington
c4302df041 Move test_resolver_send into the schedule management command base test class 2017-10-26 18:41:55 -04:00
Calen Pennington
77a2638d68 Move test_handle into the base class for schedule management command tests 2017-10-26 18:41:55 -04:00
Calen Pennington
f2ea6f664e Move the tested_command up to a class attribute, and make sure that it matches with the tested_task 2017-10-26 18:41:55 -04:00
Calen Pennington
c4249c6bc5 Move day-offsets into class attributes of the schedule management commands 2017-10-26 18:41:54 -04:00
Calen Pennington
8afe1ffe17 Move schedule management command log_prefix to a class attribute 2017-10-26 17:43:56 -04:00
Calen Pennington
c68883f009 Move setUp into the baseclass for schedule email command tests 2017-10-26 17:43:56 -04:00
Calen Pennington
3696f5f5fe Remove redundent ScheduleFactory calls in setUp for schedule email tests 2017-10-26 17:43:56 -04:00
Calen Pennington
9b4c0540a1 Move task being tested into a class attribute 2017-10-26 17:43:56 -04:00
Calen Pennington
b774e0a82e Move ENABLED_CACHES into schedule test base class 2017-10-26 17:43:55 -04:00
Calen Pennington
5be19e22c2 Induce a base class for schedule email management command tests 2017-10-26 17:43:55 -04:00
Tyler Hallada
52897d5808 Merge pull request #16346 from edx/thallada/ret-org-opt-out
Org-level schedule upgrade deadline opt-out
2017-10-26 13:31:21 -04:00
Nimisha Asthagiri
a7c4ddfe4b Merge pull request #16338 from edx/pacing/course-update
Schedules: Add upsell to Course Update templates
2017-10-25 19:42:59 -04:00
Nimisha Asthagiri
d3dcca2f49 Schedules: DRY upsell and CTA in templates 2017-10-25 17:57:43 -04:00
Tyler Hallada
806114a3ef Check org before course deadline config w/ tests 2017-10-25 17:54:47 -04:00
Calen Pennington
fa7b9a132a Move the org_list and exclude code into the resolvers 2017-10-25 09:10:16 -04:00