summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_groups.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-07-25 23:09:50 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-07-25 23:09:50 -0700
commit10987b3089d4fe218dd2116dd871e0a070db3f7f (patch)
tree019c635d3ec4a435d66068335aa31cb460d79de6 /tests/functional/api/test_groups.py
parent17c01ea55806c722523f2f9aef0175455ec942c5 (diff)
downloadgitlab-10987b3089d4fe218dd2116dd871e0a070db3f7f.tar.gz
test(ee): add an EE specific test
Diffstat (limited to 'tests/functional/api/test_groups.py')
-rw-r--r--tests/functional/api/test_groups.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/functional/api/test_groups.py b/tests/functional/api/test_groups.py
index 83d032c..88e5a36 100644
--- a/tests/functional/api/test_groups.py
+++ b/tests/functional/api/test_groups.py
@@ -218,8 +218,9 @@ def test_group_subgroups_projects(gl, user):
group4.delete()
-@pytest.mark.skip
-def test_group_wiki(group):
+def test_group_wiki(gitlab_ee, group):
+ if not gitlab_ee:
+ pytest.skip("Requires GitLab EE to run")
content = "Group Wiki page content"
wiki = group.wikis.create({"title": "groupwikipage", "content": content})
assert wiki in group.wikis.list()
@@ -234,8 +235,9 @@ def test_group_wiki(group):
assert wiki not in group.wikis.list()
-@pytest.mark.skip(reason="EE feature")
-def test_group_hooks(group):
+def test_group_hooks(gitlab_ee, group):
+ if not gitlab_ee:
+ pytest.skip("Requires GitLab EE to run")
hook = group.hooks.create({"url": "http://hook.url"})
assert hook in group.hooks.list()