Expand and refactor teams configuration on course. (#22168)
Wrap CourseModule.teams_configuration in TeamsConfig class, centralizing parsing, validation, error handling, etc. Wrapped object is exposed on 'teams_conf' field. Old code still uses 'teams_configuration' dict; we should change this in the future (MST-18). MST-16
Showing
- common/lib/xmodule/xmodule/course_module.py 36 additions, 0 deletionscommon/lib/xmodule/xmodule/course_module.py
- common/lib/xmodule/xmodule/tests/test_course_module.py 29 additions, 0 deletionscommon/lib/xmodule/xmodule/tests/test_course_module.py
- openedx/core/lib/teams_config.py 319 additions, 0 deletionsopenedx/core/lib/teams_config.py
- openedx/core/lib/tests/test_teams_config.py 204 additions, 0 deletionsopenedx/core/lib/tests/test_teams_config.py
openedx/core/lib/teams_config.py
0 → 100644
openedx/core/lib/tests/test_teams_config.py
0 → 100644
Please register or sign in to comment