Also added reset_test_case() and @modifies_courseware to SharedModuleStoreTestCase.
Revert "More verbose test builds in Jenkins, for debugging."
This reverts commit 58cade4cc4288335026649470a48b7bbca969ee8.
Update edx-lint to the version that checks if tearDown uses super.
Convert a number of tearDown methods into addCleanup.
Remove some unneeded tearDown methods: no need to call patch.stopall if
none of them were started with patch.start.
The existing pattern of using `override_settings(MODULESTORE=...)` prevented
us from having more than one layer of subclassing in modulestore tests.
In a structure like:
@override_settings(MODULESTORE=store_a)
class BaseTestCase(ModuleStoreTestCase):
def setUp(self):
# use store
@override_settings(MODULESTORE=store_b)
class ChildTestCase(BaseTestCase):
def setUp(self):
# use store
In this case, the store actions performed in `BaseTestCase` on behalf of
`ChildTestCase` would still use `store_a`, even though the `ChildTestCase`
had specified to use `store_b`. This is because the `override_settings`
decorator would be the innermost wrapper around the `BaseTestCase.setUp` method,
no matter what `ChildTestCase` does.
To remedy this, we move the call to `override_settings` into the
`ModuleStoreTestCase.setUp` method, and use a cleanup to remove the override.
Subclasses can just defined the `MODULESTORE` class attribute to specify which
modulestore to use _for the entire `setUp` chain_.
[PLAT-419]
Update the redeem code schema
Updating the redeem code schema.
Adding migration file.
Adding course mode support when redeeming a code.
Conflicts:
lms/djangoapps/shoppingcart/views.py
Add sales admin privileges for redeem code generation.
Making sure redeem code URLs work for verified courses.
pep8 violations
Code Review and Test Cleanup changes
Added tests, fixed tests.
Updating the boolean checks in ecommerce template
added the functionality of adding the expiration date, and also handled in the shopping cart when the user try to add the expired coupon code in the shopping cart
added expiration date in the coupons list in the ecommerce page
added the unit tests and jasmine tests
fix the quality issues and rebased with master
regenerated the migration file with a different number
i18n and verified te course mode
changes suggested by stephan
Move modulestore config for tests to an importable location
Disable pylnt warning for lms imports in common tests
Refactor all testcases that loaded all xml courses
TE-610
TE-489
rebased and resolve conficts with cdoge/registration_codes
feature enhancement request: added transaction group name text field to the download buttons as an extra optional query paramerter
Added username into Authors file
[Ex-12] Add user to input coupon code in the Shopping Cart
[Ex-13] Discount should be reflected in the Payment confirmation page and email
added E-commerce Tab in Instructor Dashboard
added name/email in authors file
removed the is_active column, change the colors scheme, fixed bugs
wip
wip
test github account
STORE_BILLING_INFO set to True
cybersource api update, reference number updated, merchant_data removed from params
View Course buttons on receipt
link for course added to receipt
receipt.html view course button - func update
receipt.html course link update
move new CyberSource implementation to a separate file so that we can keep the original
remove config changes
remove config changes
remove coupon redemption during clear cart and update test cases
[Ex-11]added test cases(E-commerce Tab Instuctor Dashboard)
update data model max_length to 255
remove array paid_course_ids init in views.py
removed the is_active filter=false, added styling to the inactive coupon codes
remove coupon redemption during clear cart and update test cases
[Ex-11]added test cases(E-commerce Tab Instuctor Dashboard)
update data model max_length to 255
Add column to the list of coupons in the E-Commerce tab
Add ability for microsites to specify custom CyberSource secret configuration, i.e. run under different accounts
make the new CyberSource2 also microsite aware
updating migration for student and shopping cart apps
added user signup functionality that orignated from the Microsites
added non-microsite user signup tests
fix the hard coded callback URL to localhost
add comment
Modify e-commerce instructor tab to show a total amount above the coupon listings for admin finance user
made changes as suggested by diana khuang
add the CourseAccessRoles table to the Django Admin website
shopping cart coupon checkout changes as suggested by Jason Bau
changes are made according to the suggesstions on PR#4172
changes made in the coupons file
changes in the coupons get_coupon_info view
fix merge conflict resolution error
changes in the remove_coupon view json response
changes as suggested by David Baumgold
pep8/pylint fixes
Changes as suggested by jasonBau
don't assume item in shopping cart is a PaidCourseRegistration
fix up some logging
changed the urls of the coupon views and use the post to get the values from the request