test: switch default test store to the split store
It's long past time that the default test modulestore was Split, instead of Old Mongo. This commit switches the default store and fixes some tests that now fail: - Tests that didn't expect MFE to be enabled (because we don't enable MFE for Old Mongo) - opt out of MFE for those - Tests that hardcoded old key string formats - Lots of other random little differences In many places, I didn't spend much time trying to figure out how to properly fix the test, and instead just set the modulestore to Old Mongo. For those tests that I didn't spend time investigating, I've set the modulestore to TEST_DATA_MONGO_AMNESTY_MODULESTORE - search for that string to find further work.
This commit is contained in:
@@ -130,7 +130,7 @@ class TestIDVerificationService(ModuleStoreTestCase):
|
||||
course = CourseFactory.create(org='Robot', number='999', display_name='Test Course')
|
||||
path = IDVerificationService.get_verify_location(course.id)
|
||||
expected_path = f'{settings.ACCOUNT_MICROFRONTEND_URL}/id-verification'
|
||||
assert path == (expected_path + '?course_id=Robot/999/Test_Course')
|
||||
assert path == (expected_path + '?course_id=course-v1%3ARobot%2B999%2BTest_Course')
|
||||
|
||||
def test_get_verify_location_from_string(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user