diff options
author | John L. Villalovos <john@sodarock.com> | 2022-01-13 07:39:39 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-01-13 07:39:39 -0800 |
commit | 888f3328d3b1c82a291efbdd9eb01f11dff0c764 (patch) | |
tree | 3fe3268570dbe66f5d4e35bef46b4ca018c516da /tests/functional/api/test_services.py | |
parent | 4a000b6c41f0a7ef6121c62a4c598edc20973799 (diff) | |
download | gitlab-jlvillal/lazy_service.tar.gz |
fix(api): services: add missing `lazy` parameterjlvillal/lazy_service
Commit 8da0b758c589f608a6ae4eeb74b3f306609ba36d added the `lazy`
parameter to the services `get()` method but missed then using the
`lazy` parameter when it called `super(...).get(...)`
Closes: #1828
Diffstat (limited to 'tests/functional/api/test_services.py')
-rw-r--r-- | tests/functional/api/test_services.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/api/test_services.py b/tests/functional/api/test_services.py new file mode 100644 index 0000000..100c0c9 --- /dev/null +++ b/tests/functional/api/test_services.py @@ -0,0 +1,11 @@ +""" +GitLab API: +https://docs.gitlab.com/ee/api/integrations.html +""" + +import gitlab + + +def test_services(project): + service = project.services.get("jira", lazy=True) + assert isinstance(service, gitlab.v4.objects.ProjectService) |