Fix Freebox flaky tests (#103745)

This commit is contained in:
Quentame 2023-11-10 13:51:35 +01:00 committed by GitHub
parent 93f63c5472
commit 3666af0b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,9 @@ from tests.common import MockConfigEntry
@pytest.fixture(autouse=True)
def mock_path():
"""Mock path lib."""
with patch("homeassistant.components.freebox.router.Path"):
with patch("homeassistant.components.freebox.router.Path"), patch(
"homeassistant.components.freebox.router.os.makedirs"
):
yield