Test file permissions.
(self)
| 155 | self.assert_test("Found 1 matches" in result, result) |
| 156 | |
| 157 | async def test_permissions(self): |
| 158 | """Test file permissions.""" |
| 159 | print("\n=== Testing File Permissions ===") |
| 160 | |
| 161 | # Create test file |
| 162 | test_file = str(self.test_dir / "perms.txt") |
| 163 | await self.fs.write_file(test_file, "Test content") |
| 164 | |
| 165 | # Test change permissions |
| 166 | result = await self.fs.change_permissions(test_file, "644") |
| 167 | self.assert_test("Successfully changed permissions" in result, result) |
| 168 | |
| 169 | async def test_service_layer(self): |
| 170 | """Test the service layer directly.""" |
no test coverage detected