File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 55pytestmark = pytest .mark .dbt
66
77
8- def test_docs_inline (sushi_test_project : Project ):
8+ @pytest .mark .xdist_group ("dbt_manifest" )
9+ def test_docs_inline ():
10+ project_path = Path ("tests/fixtures/dbt/sushi_test" )
11+ profile = Profile .load (DbtContext (project_path ))
12+
13+ helper = ManifestHelper (
14+ project_path ,
15+ project_path ,
16+ "sushi" ,
17+ profile .target ,
18+ model_defaults = ModelDefaultsConfig (start = "2020-01-01" ),
19+ )
20+ # Inline description in yaml
21+ assert helper .models ()["waiters" ].description == "waiters docs block"
22+
23+ assert helper .models ()["top_waiters" ].description == "description of top waiters"
924 # Inline description in yaml
1025 top_waiters = sushi_test_project .context ._models ["top_waiters" ]
1126 assert top_waiters .description == "description of top waiters"
You can’t perform that action at this time.
0 commit comments