Skip to content

Commit

Permalink
skip entire module
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Oct 22, 2024
1 parent 2819471 commit 61e55a1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions lumen/tests/ai/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@

from panel.chat import ChatStep

from lumen.ai.utils import (
UNRECOVERABLE_ERRORS, clean_sql, describe_data, format_schema, get_schema,
render_template, report_error, retry_llm_output,
)
try:
from lumen.ai.utils import (
UNRECOVERABLE_ERRORS, clean_sql, describe_data, format_schema,
get_schema, render_template, report_error, retry_llm_output,
)
except ImportError:
pytest.skip("Skipping tests that require lumen.ai", allow_module_level=True)


def test_render_template_with_valid_template():
Expand Down

0 comments on commit 61e55a1

Please sign in to comment.