Skip to content

Commit

Permalink
feat: ensure 'soda-sql' is the default source of all Test objects (so…
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienboutonnet authored Dec 15, 2021
1 parent 546bcbc commit 5dbb62b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.mysql/
.vscode/
mini.vim
.vim/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 1 addition & 1 deletion core/sodasql/scan/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Test:
metrics: List[str]
column: Optional[str]
expression_delimiters = ["<=", ">=", "<", ">", "=="]
source: str = field(default="")
source: str = field(default="soda-sql")

def evaluate(
self,
Expand Down
1 change: 1 addition & 0 deletions tests/cli/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def test_dbt_flush_test_results_soda_server_scan_numbertest_result(
("skipped", False),
("values", {"failures": 0}),
("columnName", "result"),
('source', 'dbt'),
],
)
def test_dbt_flush_test_results_soda_server_scan_test_result(
Expand Down

0 comments on commit 5dbb62b

Please sign in to comment.