chore: remove tests
This commit is contained in:
parent
c628c7f8db
commit
5d6a7442d6
|
|
@ -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"))
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue