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

Unit tests are failing locally #2172

Closed
Assignees
JohnVillalovos
@JohnVillalovos

Description

@JohnVillalovos

On my local systemtox -e py3 is now failing:

___________________________________________________________________________________________________________________ test_gitlab_from_config_without_files_raises ____________________________________________________________________________________________________________________    def test_gitlab_from_config_without_files_raises():        with pytest.raises(GitlabConfigMissingError, match="non-existing"):>           gitlab.Gitlab.from_config("non-existing")tests/unit/test_gitlab.py:305:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _gitlab/client.py:257: in from_config    config = gitlab.config.GitlabConfigParser(gitlab/config.py:129: in __init__    self._parse_config()_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _self = <gitlab.config.GitlabConfigParser object at 0x7f44fc519060>    def _parse_config(self) -> None:        _config = configparser.ConfigParser()        _config.read(self._files)        if self.gitlab_id and not _config.has_section(self.gitlab_id):>           raise GitlabDataError(                f"A gitlab id was provided ({self.gitlab_id}) "                "but no config section found"            )E           gitlab.config.GitlabDataError: A gitlab id was provided (non-existing) but no config section foundgitlab/config.py:141: GitlabDataError============================================================================================================================== short test summary info ==============================================================================================================================FAILED tests/unit/test_gitlab.py::test_gitlab_from_config_without_files_raises - gitlab.config.GitlabDataError: A gitlab id was provided (non-existing) but no config section found===================================================================================================================== 1 failed, 879 passed, 3 skipped in 3.54s ======================================================================================================================ERROR: InvocationError for command /home/jlvillal/sources/github-mine/python-gitlab/.tox/py3/bin/pytest tests/unit tests/meta (exited with code 1)______________________________________________________________________________________________________________________________________ summary ______________________________________________________________________________________________________________________________________ERROR:   py3: commands failed

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


    [8]ページ先頭

    ©2009-2025 Movatter.jp