Skip to content

Commit 3711b46

Browse files
committed
fix(tests): move the function test assets back into tests/
These assets are specific to the functional tests of python-gitlab and do not belong as part of the pytest-gitlab plugin. Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
1 parent 2f65f23 commit 3711b46

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

tests/functional/conftest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
import pathlib
2+
13
import pytest
24

35
import gitlab
46
from gitlab.testing.fixtures.helpers import get_gitlab_plan
57

68

9+
@pytest.fixture(scope="session")
10+
def fixture_dir(test_dir: pathlib.Path) -> pathlib.Path:
11+
return test_dir / "functional" / "fixtures"
12+
13+
714
@pytest.fixture(scope="session")
815
def gitlab_plan(gl: gitlab.Gitlab) -> str | None:
916
return get_gitlab_plan(gl)

tests/functional/fixtures/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)