◐ Shell
clean mode source ↗

feat: integrate pytest-gitlab by ptalbert · Pull Request #3313 · python-gitlab/python-gitlab

@ptalbert mentioned this pull request

Dec 19, 2025
…direnv

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
Take the framework of pytest-gitlab but use the current python-gitlab
functional testing fixtures.

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
IMHO this makes it more clear what this is.

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
… is present

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
The previous commit adds a new pytest plugin `pytest-gitlab` but does
not (yet) update the existing tests to use it. For now it needs to
explicitly be disabled when running tests so it does not interfere with
the original fixtures.

Since tox now runs the tests with `-p no:gitlab` the
test_gitflab_plugin_is_loaded test will always fail.
Skip it for now and instead ensure the entrypoint is at least there.

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>