Skip to content

Commit 23c5c91

Browse files
committed
fix test
1 parent 3473d5b commit 23c5c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bitvavo_client/test_facade.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ def test_api_key_configuration_error_handling(self, mock_configure_key: Mock) ->
357357
# Create settings with test values using api_keys
358358
settings = TestBitvavoSettings(api_keys=[{"key": "invalid_key", "secret": "test_secret"}])
359359

360-
client = BitvavoClient(settings)
360+
# Should raise during initialization or rotate_key
361361
with pytest.raises(ValueError, match="Invalid API key format"):
362-
client.rotate_key()
362+
BitvavoClient(settings)
363363

364364

365365
class TestBitvavoClientRealWorldUsage:

0 commit comments

Comments
 (0)