1👍
Both are pytest
fixtures (read about fixtures here: About fixtures). rf
is defined in pytest-django
(reference); a RequestFactory
instance will be automatically injected for the rf
argument in test. users_context
is a fixture defined somewhere in your test project; search for something like
@pytest.fixture
def users_context():
...
in project code.
Source:stackexchange.com