Skip to content

Commit

Permalink
updated project config for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Sep 22, 2023
1 parent 7b35a43 commit f931543
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions tests/functional/adapter/test_persist_test_results.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
import pytest

from dbt.tests.adapter.persist_test_results.basic import PersistTestResults


class TestPersistTestResults(PersistTestResults):
pass
@pytest.mark.skip_profile("spark_session", "databricks_cluster", "databricks_sql_endpoint")
class TestPersistTestResultsSpark(PersistTestResults):
@pytest.fixture(scope="class")
def project_config_update(self):
return {
"seeds": {
"quote_columns": True,
},
"tests": {
"+schema": self.audit_schema_suffix,
},
}


@pytest.mark.skip_profile("apache_spark", "spark_session")
class TestPersistTestResultsDatabricks(PersistTestResults):
@pytest.fixture(scope="class")
def project_config_update(self):
return {
"seeds": {
"quote_columns": False,
"+file_format": "delta",
},
"tests": {"+schema": self.audit_schema_suffix, "+file_format": "delta"},
}

0 comments on commit f931543

Please sign in to comment.