Bug 1037964 - Error when accessing /profile/new when not logged in

I don't agree. If you look at the code that was changed in `views.py`, it specifically checks for `not request.user.is_authenticated()`, so that's what we need to test. The code we're testing doesn't "know" that django creates an Anonymous user and it shouldn't need to know that. The code simply checks for `not request.user.is_authenticated()`, so that's all the mock needs to do: just return `False` for `request.user.is_authenticated()`.

If we do it your way we are relying on our understanding of how django auth works, but none of that is necessary to test this method. For a unit test we should find the most direct way of creating the precondition for the test.

Does that make sense?