Skip to content

Commit 828d3a8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 374f24d commit 828d3a8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

dandischema/tests/test_metadata.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -940,10 +940,13 @@ def test_valid_schema(self) -> None:
940940
dummy_validator = MagicMock(spec=JsonschemaValidator)
941941
valid_schema = {"type": "object"}
942942

943-
with patch("requests.get") as mock_get, patch(
944-
"dandischema.metadata.dandi_jsonschema_validator",
945-
return_value=dummy_validator,
946-
) as mock_validator:
943+
with (
944+
patch("requests.get") as mock_get,
945+
patch(
946+
"dandischema.metadata.dandi_jsonschema_validator",
947+
return_value=dummy_validator,
948+
) as mock_validator,
949+
):
947950
mock_response = MagicMock()
948951
mock_response.raise_for_status.return_value = None
949952
mock_response.json.return_value = valid_schema

0 commit comments

Comments
 (0)