'Active user login.'

def test_logged_in_default(self):

    request = RequestFactory().get('/foo')
    request.user = UserFactory()
    view = login_required(simple_view)
    response = view(request)
    eq_(200, response.status_code)
