mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-18 01:49:22 +00:00
fix(tests): skip Terraform tests when tree-sitter-hcl not installed
pytest.importorskip at module level matches the pattern used for other optional extras (sql, dm) so CI passes without the optional dep. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
200edecea5
commit
30f6f6fb85
1 file changed
+4
@@ -1,6 +1,10 @@
|
||||
"""Tests for the Terraform/HCL extractor (graphify/extract.py, issue #187)."""
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
pytest.importorskip("tree_sitter_hcl", reason="tree-sitter-hcl not installed; install with: uv tool install graphifyy[terraform]")
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from graphify.build import build_from_json
|
||||
|
||||
Reference in new issue
Block a user