#NEWLINE# @ authenticated_user_fixtures #NEWLINE# def test_authenticated_user_returns_user_from_get_user( get_user ) : #NEWLINE# #INDENT# 'It should return the user from get_user().' #NEWLINE# request = mock . Mock ( authenticated_userid = 'userid' ) #NEWLINE# assert ( accounts . authenticated_user ( request ) == get_user . return_value )