diff --git a/scripts/run_tests_with_coverage.py b/scripts/run_tests_with_coverage.py index d1e9699..aadd2ca 100755 --- a/scripts/run_tests_with_coverage.py +++ b/scripts/run_tests_with_coverage.py @@ -22,6 +22,9 @@ def main(): print("Running tests with OpenTelemetry enabled...") print("==========================================") + # Add current directory to Python path + sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + # Setup Django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ivatar.settings") django.setup()