Skip to content

Commit c387b45

Browse files
committed
test: stop spying on project resource assembly, now called natively
1 parent d197166 commit c387b45

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎tests/e2e/src/sqlbuild/cli/commands/main/compile/helpers.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4806,7 +4806,6 @@ def full_macro_call_runs(
48064806

48074807

48084808
_ANALYSIS_SEAMS: tuple[tuple[ModuleType, str], ...] = (
4809-
(native_module, "assemble_native_project_resources"),
48104809
(native_module, "infer_native_expression_source_shapes"),
48114810
(native_module, "analyze_native_model_sql"),
48124811
(native_module, "assemble_native_sql_tests"),

‎tests/e2e/src/sqlbuild/cli/commands/main/compile/test_native_analysis_seams.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from sqlbuild._native import (
1212
ContractValidationResult,
1313
NativeModelAnalyses,
14-
NativeProjectResources,
1514
NativeSqlTestArtifact,
1615
NativeSqlTestAssembly,
1716
ProjectColumnLineage,
@@ -31,7 +30,6 @@
3130
NativeAnalysisSeamTestCase(
3231
description="models_contracts_lineage_and_sql_tests",
3332
expected_native_returns={
34-
"assemble_native_project_resources": [ANY],
3533
"infer_native_expression_source_shapes": [ANY, ANY, ANY, ANY],
3634
"analyze_native_model_sql": [ANY],
3735
"assemble_native_sql_tests": [ANY],
@@ -65,7 +63,6 @@ def test_given_project_when_compiling_then_native_seams_answer(
6563
planned_counts: list[int] = []
6664
for seams in (native_seams,):
6765
assert isinstance(seams["build_project_column_lineage"][0], ProjectColumnLineage)
68-
assert isinstance(seams["assemble_native_project_resources"][0], NativeProjectResources)
6966
assert isinstance(seams["analyze_native_model_sql"][0], NativeModelAnalyses)
7067
assert seams["analyze_native_model_sql"][0].session is not None
7168
assert isinstance(seams["infer_native_expression_source_shapes"][0], tuple)

0 commit comments

Comments
 (0)