You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
list() pagination doesn't work in functional tests #1877
When pagination occurs python-gitlab uses the URL provided by the GitLab server to use for the next request.
We have set the GitLab server configuraiton to say its URLis http://gitlab.test which is not in DNS. The pagination code uses the provided URL from the GitLab server to make the next request. And gitlab.test does not exist in DNS so it fails.
I tried to change the URL in docker-compose.yml to use 127.0.0.1 but this caused the error:
FAILED tests/functional/api/test_projects.py::test_project_remote_mirrors - gitlab.exceptions.GitlabCreateError: 400: {'url': ['is blocked: Requests to localhost are not allowed']}
To trigger the failure in test_template_gitignore and/or test_template_gitlabciyml use list(all=True)
Activity
tests(functional): pagination does not work
test(functional): pagination does not work
test(functional): fix github configuration to support pagination
test(functional): fix github configuration to support pagination
test(functional): fix github configuration to support pagination
test(functional): fix github configuration to support pagination
test(functional): fix GitLab configuration to support pagination
test(functional): fix GitLab configuration to support pagination
test(functional): fix GitLab configuration to support pagination
test(functional): fix GitLab configuration to support pagination
test(functional): fix GitLab configuration to support pagination