Skip to content

Commit

Permalink
test: Skip incompatible tests (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin authored Aug 28, 2024
1 parent 521748f commit 4967c48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Fixed-20240828-120547.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Fixed
body: Incompatible tests
time: 2024-08-28T12:05:47.794056+01:00
9 changes: 9 additions & 0 deletions tests/functional/adapter/test_store_test_failures.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

from dbt.tests.adapter.store_test_failures_tests.basic import (
StoreTestFailuresAsExceptions,
StoreTestFailuresAsGeneric,
Expand All @@ -6,29 +8,36 @@
StoreTestFailuresAsProjectLevelOff,
StoreTestFailuresAsProjectLevelView,
)
from pytest import mark


@mark.skipif(bool(os.getenv('PASSWORD')), reason='Not supported in FB 1.0')
class TestStoreTestFailuresAsInteractions(StoreTestFailuresAsInteractions):
pass


@mark.skipif(bool(os.getenv('PASSWORD')), reason='Not supported in FB 1.0')
class TestStoreTestFailuresAsProjectLevelOff(StoreTestFailuresAsProjectLevelOff):
pass


@mark.skipif(bool(os.getenv('PASSWORD')), reason='Not supported in FB 1.0')
class TestStoreTestFailuresAsProjectLevelView(StoreTestFailuresAsProjectLevelView):
pass


@mark.skipif(bool(os.getenv('PASSWORD')), reason='Not supported in FB 1.0')
class TestStoreTestFailuresAsGeneric(StoreTestFailuresAsGeneric):
pass


@mark.skipif(bool(os.getenv('PASSWORD')), reason='Not supported in FB 1.0')
class TestStoreTestFailuresAsProjectLevelEphemeral(
StoreTestFailuresAsProjectLevelEphemeral
):
pass


@mark.skipif(bool(os.getenv('PASSWORD')), reason='Not supported in FB 1.0')
class TestStoreTestFailuresAsExceptions(StoreTestFailuresAsExceptions):
pass

0 comments on commit 4967c48

Please sign in to comment.