annator-command-center / tests /standalone /test_chat_message_import.py
techprotrade's picture
Deploy ATOM FastAPI command center runtime (part 9)
81e3673 verified
Raw
History Blame Contribute Delete
298 Bytes
import os
import sys
sys.path.append(os.getcwd())
try:
from core.models import ChatMessage
print("SUCCESS: Imported ChatMessage")
except ImportError as e:
print(f"FAILURE: ImportError: {e}")
sys.exit(1)
except Exception as e:
print(f"FAILURE: Exception: {e}")
sys.exit(1)