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 |
|---|---|---|
| .. | ||
| tests | Loading commit data... | |
| __init__.py | Loading commit data... | |
| access.py | Loading commit data... | |
| assets.py | Loading commit data... | |
| certificates.py | Loading commit data... | |
| component.py | Loading commit data... | |
| course.py | Loading commit data... | |
| dev.py | Loading commit data... | |
| entrance_exam.py | Loading commit data... | |
| error.py | Loading commit data... | |
| exception.py | Loading commit data... | |
| export_git.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| import_export.py | Loading commit data... | |
| item.py | Loading commit data... | |
| library.py | Loading commit data... | |
| organization.py | Loading commit data... | |
| preview.py | Loading commit data... | |
| program.py | Loading commit data... | |
| public.py | Loading commit data... | |
| session_kv_store.py | Loading commit data... | |
| tabs.py | Loading commit data... | |
| transcripts_ajax.py | Loading commit data... | |
| user.py | Loading commit data... | |
| videos.py | Loading commit data... |