File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1+ from pathlib import Path
12import pytest
23
3- from sqlmesh .dbt .project import Project
4+ from sqlmesh .core .config .model import ModelDefaultsConfig
5+ from sqlmesh .dbt .context import DbtContext
6+ from sqlmesh .dbt .manifest import ManifestHelper
7+ from sqlmesh .dbt .profile import Profile
8+
49
510pytestmark = pytest .mark .dbt
611
@@ -19,12 +24,5 @@ def test_docs_inline():
1924 )
2025 # Inline description in yaml
2126 assert helper .models ()["waiters" ].description == "waiters docs block"
22-
23- assert helper .models ()["top_waiters" ].description == "description of top waiters"
24- # Inline description in yaml
25- top_waiters = sushi_test_project .context ._models ["top_waiters" ]
26- assert top_waiters .description == "description of top waiters"
27-
2827 # Docs block from .md file
29- waiters = sushi_test_project .context ._models ["waiters" ]
30- assert waiters .description == "waiters docs block"
28+ assert helper .models ()["top_waiters" ].description == "description of top waiters"
You can’t perform that action at this time.
0 commit comments