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

Developer's ~/.python-gitlab.cfg affecting functional tests #2704

Open
Labels
@ericfrederich

Description

@ericfrederich

Description of the problem, including code/CLI snippet

When runningtox -e cli_func_v4 and you have a~/.python-gitlab.cfg file as shown below, the tests will fail.

This is one of the causes of the test failures on#2702

[global]ssl_verify = truetimeout = 60per_page = 100[dev]url = https://dev.example.comprivate_token = abcdefghijklmnopapi_version = 4[prod]url = https://prod.example.comprivate_token = abcdefghijklmnopapi_version = 4

Expected Behavior

Tests should be independent of the testing user's home directory.

Actual Behavior

Tests fail if you choose to not have a default GitLab instance defined.

Specifications

  • python-gitlab version: Currentmain branch:bf68485
  • API version you are using (v3/v4): N/A
  • Gitlab server version (or gitlab.com): 15.4.0-ee.0 (specified in tests/functional/fixtures/.env

Metadata

Metadata

Assignees

No one assigned

    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