File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import pathlib
2+
13import pytest
24
35from ted_sws .notice_transformer .adapters .rml_mapper import RMLMapperABC , SerializationFormat as RMLSerializationFormat
6+ from tests import TEST_DATA_PATH
47from tests .fakes .fake_rml_mapper import FakeRMLMapper
58
69
@@ -9,3 +12,18 @@ def fake_rml_mapper() -> RMLMapperABC:
912 rml_mapper = FakeRMLMapper ()
1013 rml_mapper .set_serialization_format (RMLSerializationFormat .TURTLE )
1114 return rml_mapper
15+
16+
17+ @pytest .fixture
18+ def rdf_file_path () -> pathlib .Path :
19+ return TEST_DATA_PATH / "example.ttl"
20+
21+
22+ @pytest .fixture
23+ def rdf_content (rdf_file_path ) -> str :
24+ return rdf_file_path .read_text (encoding = "utf-8" )
25+
26+
27+ @pytest .fixture
28+ def organisation_cet_uri () -> str :
29+ return "http://data.europa.eu/a4g/ontology#Organisation"
You can’t perform that action at this time.
0 commit comments