diff --git a/tests/components/freebox/conftest.py b/tests/components/freebox/conftest.py index 5d1b6fab0c8..8a6590d1105 100644 --- a/tests/components/freebox/conftest.py +++ b/tests/components/freebox/conftest.py @@ -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