finish test

This commit is contained in:
binary-husky
2024-07-12 04:19:07 +00:00
parent ca7de8fcdd
commit 68838da8ad
4 changed files with 314 additions and 5 deletions

10
tests/init_test.py Normal file
View File

@@ -0,0 +1,10 @@
def validate_path():
import os, sys
os.path.dirname(__file__)
root_dir_assume = os.path.abspath(os.path.dirname(__file__) + "/..")
os.chdir(root_dir_assume)
sys.path.append(root_dir_assume)
validate_path() # validate path so you can run from base directory