Skip to content

Commit

Permalink
rename artifacts import
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Jan 24, 2024
1 parent d696c4a commit d94ca0a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions dbt/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# N.B.
# This will add to the package’s __path__ all subdirectories of directories on sys.path named after the package which effectively combines both modules into a single namespace (dbt.adapters)

from pkgutil import extend_path

__path__ = extend_path(__path__, __name__)
2 changes: 1 addition & 1 deletion dbt/tests/adapter/basic/test_incremental.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest

# TODO: update to new dbt-artifacts once available
from dbt.artifacts.results import RunStatus
from dbt.artifacts.schemas.results import RunStatus
from dbt.tests.adapter.basic import files
from dbt.tests.util import run_dbt, check_relations_equal, relation_from_name

Expand Down
2 changes: 1 addition & 1 deletion dbt/tests/adapter/catalog/relation_types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TODO: repoint to dbt-artifacts when it is available
from dbt.artifacts.catalog import CatalogArtifact
from dbt.artifacts.schemas.catalog import CatalogArtifact
import pytest

from dbt.tests.adapter.catalog import files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

# TODO: repoint to dbt-artifacts when it's available
from dbt.artifacts.results import RunStatus
from dbt.artifacts.schemas.results import RunStatus
import pytest

from dbt.tests.util import check_relations_equal, run_dbt
Expand Down
2 changes: 1 addition & 1 deletion dbt/tests/adapter/store_test_failures_tests/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Set

# TODO: repoint to dbt-artifacts when it's available
from dbt.artifacts.results import TestStatus
from dbt.artifacts.schemas.results import TestStatus
import pytest

from dbt.tests.adapter.store_test_failures_tests import _files
Expand Down

0 comments on commit d94ca0a

Please sign in to comment.