'Verify the endpoint redirects to the user detail endpoint'

def test_success(self):

    self.login()
    response = self.api_response(expected_response_code=302)
    self.assertIn(self.username, response['location'])
