mirror of
https://github.com/home-assistant/core.git
synced 2025-06-22 14:07:06 +00:00
12 lines
284 B
Python
12 lines
284 B
Python
"""Linky generic test utils."""
|
|
from unittest.mock import patch
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def patch_fakeuseragent():
|
|
"""Stub out fake useragent dep that makes requests."""
|
|
with patch("pylinky.client.UserAgent", return_value="Test Browser"):
|
|
yield
|