Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

list() pagination doesn't work in functional tests #1877

Closed
@JohnVillalovos

Description

@JohnVillalovos

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 URLishttp://gitlab.test which is not in DNS. The pagination code uses the provided URL from the GitLab server to make the next request. Andgitlab.test does not exist in DNS so it fails.

I tried to change the URL indocker-compose.yml to use127.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 intest_template_gitignore and/ortest_template_gitlabciyml uselist(all=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp