-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add group info to RunResultError log line
- Loading branch information
Showing
5 changed files
with
147 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,10 +103,28 @@ def test_invalid_event_value(project, logs_dir): | |
assert str(excinfo.value) == "[InvalidOptionYAML]: Unable to parse dict {'option_name': 1}" | ||
|
||
|
||
groups_yml = """ | ||
groups: | ||
- name: my_group | ||
owner: | ||
name: my_name | ||
email: [email protected] | ||
slack: my_slack | ||
models: | ||
- name: my_model | ||
group: my_group | ||
access: public | ||
""" | ||
|
||
|
||
class TestNodeInfo: | ||
@pytest.fixture(scope="class") | ||
def models(self): | ||
return {"my_model.sql": "select not_found as id"} | ||
return { | ||
"my_model.sql": "select not_found as id", | ||
"groups.yml": groups_yml, | ||
} | ||
|
||
def test_node_info_on_results(self, project, logs_dir): | ||
results = run_dbt(["--log-format=json", "run"], expect_pass=False) | ||
|