Skip to content

Commit ea01ab1

Browse files
committed
temp
1 parent 25f71e8 commit ea01ab1

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

tests/dbt/test_docs.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
from pathlib import Path
12
import 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

510
pytestmark = 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"

0 commit comments

Comments
 (0)