Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dovixman committed Nov 7, 2023
1 parent 020111e commit b9ba144
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py-sdk/sdk/sdk/persistent_storage/persistent_storage_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


@pytest.fixture(scope="function")
@patch.object(Authentication, "__new__", return_value=Mock(spec=Authentication))
@patch.object(Minio, "__new__", return_value=Mock(spec=Minio))
def m_persistent_storage(minio_mock: Mock) -> PersistentStorageABC:
persistent_storage = PersistentStorage()
Expand All @@ -40,7 +39,7 @@ def m_object() -> urllib3.BaseHTTPResponse:

@patch.object(Authentication, "__new__", return_value=Mock(spec=Authentication))
@patch.object(Minio, "__new__", return_value=Mock(spec=Minio))
def test_ok(_):
def test_ok(_, __):
v.set("minio.endpoint", "test-endpoint")
v.set("minio.client_user", "test-access-key")
v.set("minio.client_password", "test-secret-key")
Expand Down

0 comments on commit b9ba144

Please sign in to comment.