chapter 2.3
This commit is contained in:
16
tests.py
Normal file
16
tests.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from functions.get_file_content import get_file_content
|
||||
|
||||
|
||||
def test():
|
||||
result = get_file_content("calculator", "main.py")
|
||||
print(result)
|
||||
|
||||
result = get_file_content("calculator", "pkg/calculator.py")
|
||||
print(result)
|
||||
|
||||
result = get_file_content("calculator", "/bin/cat")
|
||||
print(result)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test()
|
||||
Reference in New Issue
Block a user