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 |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
factories.py | Loading commit data... | |
test_ccx_modulestore.py | Loading commit data... | |
test_field_override_performance.py | Loading commit data... | |
test_models.py | Loading commit data... | |
test_overrides.py | Loading commit data... | |
test_tasks.py | Loading commit data... | |
test_utils.py | Loading commit data... | |
test_views.py | Loading commit data... | |
utils.py | Loading commit data... |