1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-17 07:34:07 +01:00
Files
core/tests/components/kraken/conftest.py
2026-03-06 19:54:20 +01:00

15 lines
337 B
Python

"""Provide common pytest fixtures for kraken tests."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def mock_call_rate_limit_sleep():
"""Patch the call rate limit sleep time."""
with patch(
"homeassistant.components.kraken.coordinator.CALL_RATE_LIMIT_SLEEP", new=0
):
yield