Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Adam Butterworth
e9e1715bd0
Update test_flags.py
2020-04-13 16:42:18 -04:00
Adam Butterworth
2459382fe3
Update is_experiment_on and add ExperimentWaffleFlag override test
2020-04-13 16:39:46 -04:00
Nimisha Asthagiri
da55a740a1
Django2 experiments app: Fix course_id string
2020-03-31 13:42:02 -04:00
Michael Terry
c4868d07bf
enrollment_end support for experiments
...
Now in addition to enrollment_start support in ExperimentWaffleFlag,
you can set an enrollment_end date for your experiment. All enrollments
after this date will get the control experience.
2020-03-19 15:10:57 -04:00
Michael Terry
2e5f2f2be3
Fix error in experiment tracking
...
If the user is not logged in, the ExperimentWaffleFlag code was
raising an exception when trying to send an event to segment.
This is a quick fix to ignore anonymous users.
2020-03-16 17:40:55 -04:00
Michael Terry
605c986ff3
Mark experiment events as non interactive
...
Specifically, set the 'nonInteraction' segment event property to 1.
2020-03-06 14:46:35 -05:00
Michael Terry
e724a4bcb7
Add ExperimentWaffleFlag
...
This is a helpful class when running an experiment, to help
bucket users and keep track of which enrollments to consider
as part of the experiment.
AA-53
2020-03-03 14:39:02 -05:00
Diana Huang
976c6873e5
Upgrade DRF to latest version.
2020-01-02 12:18:03 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Ben Holt
2d215cccb8
REV-935 More upsell API tests ( #21765 )
...
Check course start and end dates, better test coverage
2019-09-27 08:57:27 -04:00
Ben Holt
5cc8da127a
REV-935 mobile upsell and tests ( #21687 )
...
Positive test case and improvements including: requires course id to be correctly encoded in the url params, only checks entitlements of the course in question, better source for the basket url, check enrollment upgrade deadline
2019-09-19 14:59:07 -04:00
Ben Holt
8bb52f177f
REV-935 add api endpoint to decide if mobile should show upsell ( #21612 )
...
Add experimental api endpoint for mobile upsell experiment, more unit tests coming soon
2019-09-10 14:08:54 -04:00
Stu Young
d5ee03e81d
INCR-258 Run python-modernize on lms/djangoapps/experiments ( #20560 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:48:28 -04:00
Christie Rice
94b680082a
REVEM-246 Use existing method to get basket page URL
2019-03-14 15:12:14 -04:00
Christie Rice
b2432ac5aa
REVEM-207 Add program price and purchase url to user metadata
2019-03-14 10:15:48 -04:00
Christie Rice
7375eb4474
REVEM-219 Handle invalid course run key
2019-03-07 13:48:48 -05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Gabe Mulley
cc5f7d7a32
fix pylint
2018-04-25 16:33:05 -04:00
Gabe Mulley
aa261ba9d9
add tests
2018-04-25 13:04:09 -04:00
Clinton Blackburn
beba48a5d4
Added model and API endpoints for experiment-scoped data
2017-06-28 16:25:39 -04:00
Clinton Blackburn
be51c71913
Added ExperimentData API endpoint for bulk upserts
...
This endpoint allows the Rapid Experiments Team to quickly update data for multiple learners.
2017-06-28 16:25:39 -04:00
Clinton Blackburn
a42264715b
Corrected create permissions for ExperimentData create endpoint
2017-06-27 19:35:31 -04:00
Clinton Blackburn
626f015a2e
Added experiments app and API endpoint
2017-06-15 11:02:57 -04:00