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

Method run_all_tests

tests/test_file_system.py:283–312  ·  view source on GitHub ↗

Run all tests.

(self)

Source from the content-addressed store, hash-verified

281 self.assert_test("desc_dir" in result, result)
282
283 async def run_all_tests(self):
284 """Run all tests."""
285 print("Starting comprehensive filesystem tests...")
286
287 await self.setup()
288
289 try:
290 await self.test_basic_file_operations()
291 await self.test_directory_operations()
292 await self.test_file_manipulation()
293 await self.test_search_functionality()
294 await self.test_permissions()
295 await self.test_service_layer()
296 await self.test_handlers()
297 await self.test_error_handling()
298 await self.test_edge_cases()
299 await self.test_describe_functionality()
300
301 print(f"\n=== Test Results ===")
302 print(f"Passed: {self.passed_tests}")
303 print(f"Failed: {self.failed_tests}")
304 print(f"Total: {self.passed_tests + self.failed_tests}")
305
306 if self.failed_tests == 0:
307 print("🎉 All tests passed!")
308 else:
309 print(f"❌ {self.failed_tests} tests failed")
310
311 finally:
312 await self.cleanup()
313
314
315async def run():

Callers 1

runFunction · 0.95

Calls 13

setupMethod · 0.95
test_permissionsMethod · 0.95
test_service_layerMethod · 0.95
test_handlersMethod · 0.95
test_error_handlingMethod · 0.95
test_edge_casesMethod · 0.95
cleanupMethod · 0.95

Tested by

no test coverage detected