mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
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:
@@ -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")
|
||||
Reference in New Issue
Block a user