mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
chore: remove tests
This commit is contained in:
@@ -110,7 +110,3 @@ def list_dir(path: str, max_depth: int = 2) -> list[str]:
|
||||
_traverse(root_path, 1)
|
||||
|
||||
return sorted(result)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("\n".join(list_dir("/Users/Henry/Desktop", max_depth=2)))
|
||||
|
||||
@@ -39,8 +39,3 @@ class LocalSandbox(Sandbox):
|
||||
mode = "a" if append else "w"
|
||||
with open(path, mode) as f:
|
||||
f.write(content)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sandbox = LocalSandbox("test")
|
||||
print(sandbox.list_dir("/Users/Henry/mnt"))
|
||||
|
||||
Reference in New Issue
Block a user