Skip to content

Commit 310ea68

Browse files
committed
fix fixture resource paths
1 parent 5658441 commit 310ea68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unit_tests/source_declarative_manifest/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
#
44

55
import os
6+
from pathlib import Path
67

78
import pytest
89
import yaml
910

1011

1112
def get_fixture_path(file_name):
12-
return os.path.join(os.path.dirname(__file__), file_name)
13+
return Path(__file__).parent.parent / file_name
1314

1415

1516
@pytest.fixture

0 commit comments

Comments
 (0)