We added the ability here to check if a role has a user in with the ability to refresh the role cache before checking. Since some tests will make inline requests, which in turn put a user into a new role, we have to refresh afterwards otherwise we won't see that new role in place. Since we don't want to automatically refresh ever, we just added a way to request it, since we know in this test that we're doing something, effectively, out-of-band, which necessitates it.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| features | Loading commit data... | |
| management | Loading commit data... | |
| migrations | Loading commit data... | |
| tests | Loading commit data... | |
| views | Loading commit data... | |
| __init__.py | Loading commit data... | |
| admin.py | Loading commit data... | |
| context_processors.py | Loading commit data... | |
| course_group_config.py | Loading commit data... | |
| course_info_model.py | Loading commit data... | |
| courseware_index.py | Loading commit data... | |
| debug_file_uploader.py | Loading commit data... | |
| git_export_utils.py | Loading commit data... | |
| models.py | Loading commit data... | |
| proctoring.py | Loading commit data... | |
| push_notification.py | Loading commit data... | |
| signals.py | Loading commit data... | |
| startup.py | Loading commit data... | |
| tasks.py | Loading commit data... | |
| utils.py | Loading commit data... |