← Winnitude! Search  ·  Reader Mode (1098 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 15 LINKS

Incorporate pytest-gitlab plugin back into python-gitlab · Issue #3046 · python-gitlab/python-gitlab

Repository navigation

Incorporate pytest-gitlab plugin back into python-gitlab  #3046


New issue

New issue

Open
#3313
Open
Incorporate pytest-gitlab plugin back into python-gitlab #3046 #3313 Assignees JohnVillalovos is assigned nejch is assigned

Description

@nejch's profile nejch opened on Nov 25, 2024

Someone appears to have extracted our setup & fixtures for pytest and repackaged it all as a pytest plugin on pypi.org:

https://pypi.org/project/pytest-gitlab/

I was unaware of this but I have wanted something like this for years - i.e. expose our fixtures as a plugin to make them reusable in downstream projects. See https://gitlab.com/marge-org/marge-bot/-/merge_requests/479#note_2225265620 for a recent example use case.

I (and probably others @JohnVillalovos 😅 ) spent quite a few weekends adding and improving this pytest setup so IMO it would be nice to see the benefits of this shared here and also make it more discoverable for our users rather than have it a separate package that users might not trust if they can't recognize or see the sources.

I can't find the source for the project (seems to not be openly available though it reuses LGPL, purely by looking at the sdist). But I'll try to reach out to the author and see if we can incorporate it here. Otherwise the fixtures will almost definitely diverge anyway.

Reacted by Max Wittig and Stavros Ntentos

Metadata

Metadata

Assignees

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