@@ -117,7 +117,7 @@ def step_impl(raw_notice):
117117
118118
119119@given ("the notice already contains normalised metadata" )
120- def step_impl (raw_notice ,normalised_metadata_dict ):
120+ def step_impl (raw_notice , normalised_metadata_dict ):
121121 raw_notice .set_normalised_metadata (NormalisedMetadata (** normalised_metadata_dict ))
122122 assert raw_notice .normalised_metadata is not None
123123
@@ -145,14 +145,16 @@ def step_impl(raw_notice):
145145@then ("notice contains no RDF validation" )
146146def step_impl (transformation_eligible_notice ):
147147 assert transformation_eligible_notice
148- print (f"transformation_eligible_notice.get_rdf_validation() = { transformation_eligible_notice .get_rdf_validation ()} " )
148+ print (
149+ f"transformation_eligible_notice.get_rdf_validation() = { transformation_eligible_notice .get_rdf_validation ()} " )
149150 assert transformation_eligible_notice .get_rdf_validation () == []
150151
151152
152153@then ("notice not contains RDF validation" )
153154def step_impl (transformation_eligible_notice ):
154155 assert transformation_eligible_notice
155- print (f"transformation_eligible_notice.get_rdf_validation() = { transformation_eligible_notice .get_rdf_validation ()} " )
156+ print (
157+ f"transformation_eligible_notice.get_rdf_validation() = { transformation_eligible_notice .get_rdf_validation ()} " )
156158 assert transformation_eligible_notice .get_rdf_validation () is None
157159
158160
@@ -202,7 +204,10 @@ def step_impl(transformation_eligible_notice, old_rdf_manifestation, rdf_manifes
202204
203205@given ("RDF validation report" , target_fixture = "rdf_validation" )
204206def step_impl ():
205- return RDFValidationManifestation (object_data = "this is another validation report" )
207+ return RDFValidationManifestation (object_data = "this is another validation report" ,
208+ test_suite_identifier = "test_suite_id" ,
209+ mapping_suite_identifier = "mapping_suite_id"
210+ )
206211
207212
208213@given ("the notice contains an RDF manifestation" )
@@ -224,7 +229,7 @@ def step_impl(transformation_eligible_notice):
224229
225230@then ("the notice status is VALIDATED" )
226231def step_impl (transformation_eligible_notice ):
227- #TODO: Change feature text and tests, once the SPARQL test suite was refactor
232+ # TODO: Change feature text and tests, once the SPARQL test suite was refactor
228233 # assert transformation_eligible_notice.status is NoticeStatus.VALIDATED
229234 assert transformation_eligible_notice .status is NoticeStatus .DISTILLED
230235 transformation_eligible_notice .update_status_to (new_status = NoticeStatus .VALIDATED )
0 commit comments