tests: fix test_get_file_cannot_read
Python Lint CI / ruff (push) Successful in 44s
Python Lint CI / ruff-format-check (push) Successful in 43s
Python Lint CI / ty (push) Successful in 43s
Python Test CI / coverage (push) Successful in 3m30s
Docker CI / docker-build (push) Successful in 1m44s

This commit is contained in:
2026-05-03 18:49:54 +02:00
parent 458104026f
commit 91ea4cee23
2 changed files with 19 additions and 20 deletions
+1 -2
View File
@@ -60,8 +60,7 @@ class TestDataDir(BaseTestCase):
self.assertIsNone(self.data_dir.get_file("test_1", ".value"))
def test_get_file_cannot_read(self) -> None:
self.__create_path("test_1", {".value": "value"})
(self.tmp_path / "test_1" / ".value").chmod(0o333)
self.__create_path("test_1", {".value/.value": "value"})
self.assertIsNone(self.data_dir.get_file("test_1", ".value"))
def test_get_file_invalid_path(self) -> None: