def test_api_root_should_reply_200(self):
    ' GET /api/v1/ should return an hyperlink to the users view and return a successful status 200 OK.\n        '
    request = APIRequestFactory().get('/api/v1/')
    user_list_view = UserViewSet.as_view({'get': 'list'})
    response = user_list_view(request)
    self.assertEqual(status.HTTP_200_OK, response.status_code)
GET /api/v1/ should return an hyperlink to the users view and return a successful status 200 OK.
def test_api_root_should_reply_200(self):
    ' \n        '
    request = APIRequestFactory().get('/api/v1/')
    user_list_view = UserViewSet.as_view({'get': 'list'})
    response = user_list_view(request)
    self.assertEqual(status.HTTP_200_OK, response.status_code)