Skip to content

Commit 2cbcae4

Browse files
committed
ran black
1 parent 1708262 commit 2cbcae4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tests/integration/test_metadata_model.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ def _submit_and_verify_manifest(
572572
spy_upload_file_as_csv.assert_not_called()
573573
spy_upload_file_combo.assert_not_called()
574574

575-
576575
@pytest.mark.parametrize(
577576
("manifest", "model", "component"),
578577
[
@@ -588,7 +587,9 @@ def _submit_and_verify_manifest(
588587
),
589588
],
590589
)
591-
def test_validate_model_manifest(self, manifest: str, model: str, component: str) -> None:
590+
def test_validate_model_manifest(
591+
self, manifest: str, model: str, component: str
592+
) -> None:
592593
"""
593594
Tests for MetadataModel.validateModelManifest
594595
@@ -603,19 +604,20 @@ def test_validate_model_manifest(self, manifest: str, model: str, component: str
603604
inputMModelLocationType="local",
604605
)
605606
errors, warnings = mdm.validateModelManifest(
606-
manifestPath=manifest,
607-
rootNode=component
607+
manifestPath=manifest, rootNode=component
608608
)
609609

610610
assert not warnings
611611
if manifest == "tests/data/mock_manifests/Valid_none_value_test_manifest.csv":
612612
assert not errors
613613
# The order of the valid values in the error message are random, so the test must be
614614
# slightly complicated:
615-
elif manifest == "tests/data/mock_manifests/Invalid_none_value_test_manifest.csv":
615+
elif (
616+
manifest == "tests/data/mock_manifests/Invalid_none_value_test_manifest.csv"
617+
):
616618
assert errors[0][0] == "6"
617619
assert errors[0][1] == "Tissue Status"
618620
assert errors[0][3] == "InvalidValue"
619-
error_message = errors [0][2]
621+
error_message = errors[0][2]
620622
assert isinstance(error_message, str)
621623
assert error_message.startswith("'InvalidValue' is not one of")

0 commit comments

Comments
 (0)