1👍
✅
Go for
@patch('core.views.RequestContext')
@patch('core.views.Authomatic')
def test_new_user_redirects_to_sign_up_page( # noqa
self, MockAuthomatic, MockRequestContext):
The order of patches should be reversed
Source:stackexchange.com