from aiassistcli.ai_prompt import build_prompt
import pytest
from unittest.mock import MagicMock
from aiassistcli.ai_generate import AIGenerator

def test_build_prompt_contains_cmd_and_query():
    # cmd = "ls -la"
    query = "Lister les fichiers"
    prompt = build_prompt(query)
    # assert "ls -la" in prompt
    assert "Lister les fichiers" in prompt


