Update test_bot.py

This commit is contained in:
SpudGunMan
2025-10-24 11:23:04 -07:00
parent f26334d625
commit 980414f872

View File

@@ -5,6 +5,10 @@ import os
import sys
import importlib
import pkgutil
import warnings
# Suppress ResourceWarning warnings for asyncio unclosed event here
warnings.filterwarnings("ignore", category=ResourceWarning)
# Add the parent directory to sys.path to allow module imports
parent_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
sys.path.append(parent_path)