Skip to content

Commit

Permalink
rename test, todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mekhlakapoor committed Dec 1, 2023
1 parent 8e16e78 commit 183e0f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/aind_metadata_service/response_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def _map_data_response(
message = "No Data Found."
elif len(self.aind_models) == 1:
aind_model = self.aind_models[0]
# TODO: fix validation error catching
*_, validation_error = validate_model(
aind_model.__class__, aind_model.__dict__
)
Expand Down
2 changes: 1 addition & 1 deletion tests/sharepoint/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def test_merge_valid_error_procedures(
mock_log.assert_called_once_with("BrokenPipeError()")

@patch("aind_metadata_service.sharepoint.client.ClientContext")
def test_merge_3_responses(self, mock_sharepoint_client: MagicMock):
def test_merge_three_responses(self, mock_sharepoint_client: MagicMock):
"""Tests that multi status is returned as expected."""
inner_mock = MagicMock()
mock_sharepoint_client.return_value.with_credentials.return_value = (
Expand Down

0 comments on commit 183e0f9

Please sign in to comment.