training on pytest for the unitesting and doing the parsing with a init in a package need to validate this with my teammate

This commit is contained in:
Maoake Teriierooiterai
2026-03-16 15:19:11 +01:00
parent 28b92ab7ee
commit 2f5d200c0a
8 changed files with 111 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
class DataMaze:
def __init__(self) -> None:
pass
@staticmethod
def get_data(name_file: str):
try:
with open(name_file, "r") as file:
print(file)
except FileNotFoundError:
print("The file do not exist")