fix: resolve ruff lint errors (unused imports and variables)

This commit is contained in:
Viktor Barzin 2026-03-14 10:01:41 +00:00
parent 1e00cc9de6
commit eba5cf6a82
No known key found for this signature in database
GPG key ID: 0EB088298288D958
5 changed files with 2 additions and 8 deletions

View file

@ -1,7 +1,6 @@
"""Tests for Vault KV v2 client with mocked urllib."""
import json
import os
from io import BytesIO
from unittest.mock import MagicMock, mock_open, patch
@ -100,7 +99,7 @@ class TestVaultWrite:
mock_urlopen.return_value = mock_response
client = VaultClient()
result = client.write("myapp/config", {"key": "value"})
client.write("myapp/config", {"key": "value"})
# Verify the request was made with correct data
call_args = mock_urlopen.call_args