Skip to content

Draft: WIP: introduce testing like python-gitlab

Sergi Blanch Torné requested to merge sergi/ci-collate:pytest_gl_wrapper into main

There is one class wrapping the Gitlab object and adding some functionality that this module benefits. Besides it was mostly to help in the construction of the tests using a set of mock objects that is obsolete, it is also a adequate candidate to start writing tests in the python-gitlab style.

Also, there is a command line argument to stick on the requests made to the GitLab server to made easy to catch a real situation with the server to then transform it in a new test.


Even this is an enhancement, it is the first of many in the path to gain reliability on the results of this tool. We can make it faster when we made it reliable.

Merge request reports

Loading