Skip to content

Commit 5e8aecb

Browse files
committed
Update test path #290
1 parent 9bf6348 commit 5e8aecb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/oemetadata/v2/v21/test_example.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ def test_oemetadata_schema_should_validate_oemetadata_example():
2525

2626

2727
def test_oemetadata_example_is_datapackage():
28+
import pathlib
29+
2830
from frictionless import validate
2931

3032
from oemetadata.v2.v21.example import OEMETADATA_V21_EXAMPLE
3133

32-
report = validate(OEMETADATA_V21_EXAMPLE)
34+
basepath = pathlib.Path(__file__).parent
35+
36+
report = validate(OEMETADATA_V21_EXAMPLE, basepath=basepath)
3337
assert report.valid, report.flatten(["message"])

0 commit comments

Comments
 (0)