Skip to content

Commit 5b948c1

Browse files
committed
linting test files
1 parent 8f19274 commit 5b948c1

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

tests/integration/profiles/five-safes-crate/test_5src_7_requesting_workflow_run.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def test_rocrate_does_not_have_createaction():
5252
expected_validation_result=False,
5353
expected_triggered_requirements=["RootDataEntity"],
5454
expected_triggered_issues=[
55-
"`RootDataEntity` MUST reference at least one `CreateAction` (corresponding to the workflow run) through `mentions`",
55+
"`RootDataEntity` MUST reference at least one `CreateAction`",
56+
" (corresponding to the workflow run) through `mentions`",
5657
"The crate MUST contain at least one `CreateAction` (corresponding to the workflow run)",
5758
],
5859
profile_identifier="five-safes-crate",
@@ -83,7 +84,8 @@ def test_rootdataentity_does_not_have_mentions_property():
8384
expected_validation_result=False,
8485
expected_triggered_requirements=["RootDataEntity"],
8586
expected_triggered_issues=[
86-
"`RootDataEntity` MUST reference at least one `CreateAction` (corresponding to the workflow run) through `mentions`"
87+
"`RootDataEntity` MUST reference at least one `CreateAction`",
88+
" (corresponding to the workflow run) through `mentions`"
8789
],
8890
profile_identifier="five-safes-crate",
8991
rocrate_entity_mod_sparql=sparql,
@@ -116,7 +118,8 @@ def test_rootdataentity_does_not_mention_create_action():
116118
expected_validation_result=False,
117119
expected_triggered_requirements=["RootDataEntity"],
118120
expected_triggered_issues=[
119-
"`RootDataEntity` MUST reference at least one `CreateAction` (corresponding to the workflow run) through `mentions`"
121+
"`RootDataEntity` MUST reference at least one `CreateAction`",
122+
" (corresponding to the workflow run) through `mentions`"
120123
],
121124
profile_identifier="five-safes-crate",
122125
rocrate_entity_mod_sparql=sparql,
@@ -151,7 +154,8 @@ def test_createaction_object_does_not_reference_existing_entities():
151154
expected_validation_result=False,
152155
expected_triggered_requirements=["WorkflowRun"],
153156
expected_triggered_issues=[
154-
"Each `object` in the `CreateAction` entity corresponding to the workflow run MUST reference an existing entity."
157+
"Each `object` in the `CreateAction` entity corresponding" +
158+
" to the workflow run MUST reference an existing entity."
155159
],
156160
profile_identifier="five-safes-crate",
157161
rocrate_entity_mod_sparql=sparql,

0 commit comments

Comments
 (0)