Why are you creating an `HttpRequest` object? Django's test client should handle all of that for you.