Does it make sense to move this block into a fixture and re-use it in other functions? _Originally posted by @lmilbaum in https://github.com/python-gitlab/python-gitlab/pull/2350#discussion_r1009155056_