Files
bootdev_python_agent/tests.py

10 lines
347 B
Python
Raw Normal View History

2025-08-05 14:48:45 +02:00
from functions.write_file import write_file
2025-08-04 17:35:26 +02:00
def test():
2025-08-05 14:48:45 +02:00
print(write_file("calculator", "lorem.txt", "wait, this isn't lorem ipsum"))
print(write_file("calculator", "pkg/morelorem.txt", "lorem ipsum dolor sit amet"))
print(write_file("calculator", "/tmp/temp.txt", "this should not be allowed"))
2025-08-04 17:35:26 +02:00
if __name__ == "__main__":
test()