Fix Freebox flaky tests (#103745)
This commit is contained in:
parent
93f63c5472
commit
3666af0b10
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue