mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-28 00:04:47 +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)
|
_traverse(root_path, 1)
|
||||||
|
|
||||||
return sorted(result)
|
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"
|
mode = "a" if append else "w"
|
||||||
with open(path, mode) as f:
|
with open(path, mode) as f:
|
||||||
f.write(content)
|
f.write(content)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
sandbox = LocalSandbox("test")
|
|
||||||
print(sandbox.list_dir("/Users/Henry/mnt"))
|
|
||||||
|
|||||||
Reference in New Issue
Block a user