Skip to content

Commit

Permalink
Correct exception in unknown destination test
Browse files Browse the repository at this point in the history
  • Loading branch information
steinitzu committed Nov 17, 2023
1 parent 13ec6fb commit 1f16c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pipeline/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from dlt.common.configuration.specs.gcp_credentials import GcpOAuthCredentials
from dlt.common.destination import DestinationCapabilitiesContext
from dlt.common.destination.capabilities import TLoaderFileFormat
from dlt.common.exceptions import DestinationHasFailedJobs, DestinationTerminalException, PipelineStateNotAvailable, InvalidDestinationReference
from dlt.common.exceptions import DestinationHasFailedJobs, DestinationTerminalException, PipelineStateNotAvailable, UnknownDestinationModule
from dlt.common.pipeline import PipelineContext
from dlt.common.runtime.collector import AliveCollector, EnlightenCollector, LogCollector, TqdmCollector
from dlt.common.schema.utils import new_column, new_table
Expand Down Expand Up @@ -165,7 +165,7 @@ def test_pipeline_context() -> None:


def test_import_unknown_destination() -> None:
with pytest.raises(InvalidDestinationReference):
with pytest.raises(UnknownDestinationModule):
dlt.pipeline(destination="!")


Expand Down

0 comments on commit 1f16c8f

Please sign in to comment.