Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26a2f4d

Browse files
test(ee): add an EE specific test
1 parent3c4432f commit26a2f4d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎tests/functional/api/test_groups.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
importpytest
22

33
importgitlab
4+
importtests.functional.conftestasconftest
5+
6+
require_gitlab_ee=pytest.mark.skipif(
7+
notconftest.is_gitlab_ee(conftest.gl()),reason="Requires GitLab EE"
8+
)
49

510

611
deftest_groups(gl):
@@ -234,7 +239,7 @@ def test_group_wiki(group):
234239
assertwikinotingroup.wikis.list()
235240

236241

237-
@pytest.mark.skip(reason="EE feature")
242+
@require_gitlab_ee
238243
deftest_group_hooks(group):
239244
hook=group.hooks.create({"url":"http://hook.url"})
240245
asserthookingroup.hooks.list()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp