We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4432f commit 26a2f4dCopy full SHA for 26a2f4d
tests/functional/api/test_groups.py
@@ -1,6 +1,11 @@
1
import pytest
2
3
import gitlab
4
+import tests.functional.conftest as conftest
5
+
6
+require_gitlab_ee = pytest.mark.skipif(
7
+ not conftest.is_gitlab_ee(conftest.gl()), reason="Requires GitLab EE"
8
+)
9
10
11
def test_groups(gl):
@@ -234,7 +239,7 @@ def test_group_wiki(group):
234
239
assert wiki not in group.wikis.list()
235
240
236
241
237
-@pytest.mark.skip(reason="EE feature")
242
+@require_gitlab_ee
238
243
def test_group_hooks(group):
244
hook = group.hooks.create({"url": "http://hook.url"})
245
assert hook in group.hooks.list()
0 commit comments