'Setting `.force_authenticate()` forcibly authenticates each request.'

def test_force_authenticate(self):

    user = User.objects.create_user(u'example', u'example@example.com')
    self.client.force_authenticate(user)
    response = self.client.get(u'/view/')
    assert (response.data[u'user'] == u'example')
