Skip to content

When a .python-gitlab.cfg exists with a token the cli functional tests fail #1791

Closed
@JohnVillalovos

Description

@JohnVillalovos

The functional test:

tests/functional/cli/test_cli.py:test_defaults_to_gitlab_com(script_runner, resp_get_project) fails if there exists a configured .python-gitlab.cfg file.

This is due to the fact that if there is a config file with a token the CLI performs a gl.auth() which is not expected.

Metadata

Metadata

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