Sync: Complete project state with all MEGA SPRINT V1-V3 features and Codex stubs
This commit is contained in:
18
test_reggaeton_server.py
Normal file
18
test_reggaeton_server.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import sys
|
||||
import logging
|
||||
import json
|
||||
from AbletonMCP_AI.AbletonMCP_AI.MCP_Server.server import generate_track
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
# Mock context
|
||||
ctx = MagicMock()
|
||||
|
||||
try:
|
||||
print("Testing generate_track...")
|
||||
res = generate_track(ctx, genre="reggaeton", style="perreo", bpm=95, key="Am", structure="standard")
|
||||
print(res)
|
||||
except Exception as e:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
Reference in New Issue
Block a user