We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a051b6 commit 8d6c809Copy full SHA for 8d6c809
1 file changed
miio/tests/test_device_cache.py
@@ -62,7 +62,9 @@ def test_non_int_seq_returns_zero(self, cache_dir: Path) -> None:
62
63
64
class TestWriteCache:
65
- def test_creates_directory(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
+ def test_creates_directory(
66
+ self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch
67
+ ) -> None:
68
nested = tmp_path / "sub" / "dir"
69
monkeypatch.setattr("miio.device_cache.CACHE_DIR", nested)
70
write_cache("192.168.1.1", DeviceState(seq=5))
0 commit comments