Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
keenborder786 committed Jan 10, 2025
1 parent af6c394 commit 3da12a7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ def setUp(self):
@pytest.mark.usefixtures("mock_lakefs_client_no_presign_not_local")
def test_non_presigned_loading_fail(self, mocker: Mocker) -> None:
mocker.register_uri(requests_mock.ANY, requests_mock.ANY, status_code=200)
with pytest.raises(ValueError, match="Non pre-signed URLs are supported only with 'local' blockstore"):
with pytest.raises(
ValueError,
match="Non pre-signed URLs are supported only\
with 'local' blockstore",
):
self.loader.load()

@requests_mock.Mocker()
Expand Down

0 comments on commit 3da12a7

Please sign in to comment.