mirror of
https://github.com/safishamsi/graphify.git
synced 2026-07-12 10:27:11 +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,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