Skip to content

Commit

Permalink
Revert conftest change
Browse files Browse the repository at this point in the history
  • Loading branch information
sdb9696 committed Nov 21, 2024
1 parent d2b6ed1 commit 5e5b185
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import freezegun
import multidict
import pytest
import pytest_socket
import requests_mock
import respx
from syrupy.assertion import SnapshotAssertion
Expand Down Expand Up @@ -168,8 +169,8 @@ def pytest_runtest_setup() -> None:
freezegun:
Modified to include https://github.com/spulec/freezegun/pull/424
"""
# pytest_socket.socket_allow_hosts(["127.0.0.1"])
# pytest_socket.disable_socket(allow_unix_socket=True)
pytest_socket.socket_allow_hosts(["127.0.0.1"])
pytest_socket.disable_socket(allow_unix_socket=True)

freezegun.api.datetime_to_fakedatetime = ha_datetime_to_fakedatetime # type: ignore[attr-defined]
freezegun.api.FakeDatetime = HAFakeDatetime # type: ignore[attr-defined]
Expand Down

0 comments on commit 5e5b185

Please sign in to comment.