MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / test_permissions

Method test_permissions

tests/test_file_system.py:157–167  ·  view source on GitHub ↗

Test file permissions.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers 1

run_all_testsMethod · 0.95

Calls 3

assert_testMethod · 0.95
printFunction · 0.85
change_permissionsMethod · 0.45

Tested by

no test coverage detected