| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| call_stack_manager | ||
| commerce | ||
| common_views | ||
| content | ||
| course_groups | ||
| credit | ||
| profile_images | ||
| programs | ||
| self_paced | ||
| signals | ||
| theming | ||
| user_api | ||
| util | ||
| __init__.py |
There are 3 main changes in this commit: * CohortFactory now sets up memberships properly, so consuming tests do not need to explicitly touch CourseUserGroup.users to add() users. * test_get_cohort_sql_queries has been updated to 3 and 9 queries when using and not using the cache, respectively. This is needed due to each operation needing an extra queery to get the CourseUserGroup from the CohortMembership. * Adding remove_user_from_cohort(), the counterpart to add_user_to_cohort(). This is also to keep tests from touching the users field directly, and keep CohortMembership data in sync.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| call_stack_manager | Loading commit data... | |
| commerce | Loading commit data... | |
| common_views | Loading commit data... | |
| content | Loading commit data... | |
| course_groups | Loading commit data... | |
| credit | Loading commit data... | |
| profile_images | Loading commit data... | |
| programs | Loading commit data... | |
| self_paced | Loading commit data... | |
| signals | Loading commit data... | |
| theming | Loading commit data... | |
| user_api | Loading commit data... | |
| util | Loading commit data... | |
| __init__.py | Loading commit data... |