Skip to content

Commit

Permalink
tests fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Mar 27, 2024
1 parent c68bd44 commit d9b084c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/notice_metadata_processor/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from ted_sws.core.model.manifestation import RDFManifestation
from ted_sws.core.model.notice import NoticeStatus
from ted_sws.core.model.transform import FileResource, SPARQLTestSuite, MetadataConstraints, TransformationRuleSet, \
SHACLTestSuite, TransformationTestData, MappingSuite
SHACLTestSuite, TransformationTestData, MappingSuite, MetadataConstraintsStandardForm
from tests import TEST_DATA_PATH


Expand Down Expand Up @@ -189,7 +189,7 @@ def sparql_test_suite_with_invalid_query(invalid_sparql_file):

@pytest.fixture
def dummy_mapping_suite(sparql_test_suite, shacl_test_suite):
metadata_constrains = MetadataConstraints(constraints=dict())
metadata_constrains = MetadataConstraints(constraints=MetadataConstraintsStandardForm(eforms_subtype=[29],min_xsd_version=["R2.0.9.S01.E01"]))
file_name = "fake_title.txt"
empty_file_resource = FileResource(file_name=file_name, file_content="no content here", original_name=file_name)
transformation_rule_set = TransformationRuleSet(resources=[empty_file_resource],
Expand Down
2 changes: 1 addition & 1 deletion tests/features/notice_validator/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from ted_sws.core.model.manifestation import RDFManifestation
from ted_sws.core.model.notice import NoticeStatus
from ted_sws.core.model.transform import FileResource, SPARQLTestSuite, MetadataConstraints, TransformationRuleSet, \
SHACLTestSuite, TransformationTestData, MappingSuite
SHACLTestSuite, TransformationTestData, MappingSuite, MetadataConstraintsStandardForm
from tests import TEST_DATA_PATH


Expand Down

0 comments on commit d9b084c

Please sign in to comment.