'Active user login.'

def test_logged_in_default(self):

    request = self.rf.get('/foo')
    request.user = self.user_model.objects.get(username='testuser')
    view = login_required(simple_view)
    response = view(request)
    eq_(200, response.status_code)
