Add __main__.py dir to import path

This commit is contained in:
Matt Borgerson 2022-03-16 23:43:04 -07:00
parent c729ec86bb
commit 4282c63ef6

View File

@ -3,6 +3,7 @@ import importlib
import inspect
import logging
import os
import sys
import xemutest
@ -22,6 +23,8 @@ def main():
tests = []
result = True
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
for path in os.listdir(os.path.dirname(__file__)):
if not path.startswith("test_") or path == "test_base.py":
continue