#11 REFACTOR: Moved all tests into test classes

This commit is contained in:
2024-02-23 21:15:06 +00:00
parent 68f738a241
commit 7a9bc61d04
13 changed files with 210 additions and 188 deletions

View File

@ -37,11 +37,6 @@ def create_connection(path: str, filename: str):
conn.close()
# Ensure a directory is created given a path to it
if __name__ == "__main__":
run()
def run():
""" Create the database for the application"""
dir = r"./data/"
@ -55,3 +50,8 @@ def run():
remove_file(dir + db_name)
create_connection(dir, db_name)
# Ensure a directory is created given a path to it
if __name__ == "__main__":
run()