Skip to content

Conversation

@zacharis278
Copy link
Contributor

Related to: #31134

These tests are currently using the old modulestore but when updated to the correct modulestore value you end up with a bunch of inexplicable test failures. Why? TIL is_proctored_exam is not actually a field on these blocks and is actually an alias to is_proctored_enabled so creating sections with is_proctored_exam does nothing.

https://github.com/openedx/edx-platform/blob/9fbf1929dddcdfdfebd9a1e48a490a7f84b6e536/xmodule/seq_module.py#L226

Seems like old mongo would save this value anyway but split modulestore does not.

@zacharis278 zacharis278 force-pushed the zhancock/modulestore-testfix branch from 9fbf192 to ec5dd86 Compare October 27, 2022 20:48
Copy link
Contributor

@schenedx schenedx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as the python unit tests are happy, I am happy. Thank you for the fix!

@zacharis278 zacharis278 merged commit 01f14db into master Oct 28, 2022
@zacharis278 zacharis278 deleted the zhancock/modulestore-testfix branch October 28, 2022 15:49
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

jcohen28 pushed a commit to Medality-Health/edx-platform that referenced this pull request Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants