- Notifications
You must be signed in to change notification settings - Fork673
Closed
Description
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
Assignees
Labels
No labels