Skip to content

Commit 2f65f23

Browse files
committed
fix(testing): correct the scope of the gitlab.project fixture
It needs to be `module`, not `function`, otherwise there will be a lot of ScopeMismatch errors. Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
1 parent 8b043eb commit 2f65f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/testing/fixtures/gitlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def group(gl):
341341
helpers.safe_delete(group)
342342

343343

344-
@pytest.fixture(scope="function")
344+
@pytest.fixture(scope="module")
345345
def project(gl):
346346
"""Project fixture for project API resource tests."""
347347
_id = uuid.uuid4().hex

0 commit comments

Comments
 (0)