codefuse-chatbot/tests/db_create_test.py

12 lines
206 B
Python

import os, sys
src_dir = os.path.join(
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
)
sys.path.append(src_dir)
from dev_opsgpt.orm import create_tables
create_tables()