from app.modules.rag.retrieval.query_terms import extract_query_terms


def test_extract_query_terms_from_code_question() -> None:
    terms = extract_query_terms("Объясни по коду как можно управлять COnfigmanager?")

    assert "configmanager" in terms
    assert "config_manager" in terms
    assert "control" in terms
