def METHOD_NAME(self):
    # anonymous user
    self.client.logout()
    url = reverse('user-detail', args=(self.alice.username,))
    response = self.client.get(url)
    assert response.status_code == status.HTTP_404_NOT_FOUND
    # bob
    self.client.login(username='bob', password='bobbob')
    url = reverse('user-detail', args=(self.alice.username,))
    response = self.client.get(url)
    assert response.status_code == status.HTTP_404_NOT_FOUND