Skip to content

Commit

Permalink
fix test assert
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Aug 30, 2023
1 parent 17ead2e commit 5a662b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def models(self):
def test_yaml_level(self, project):
with pytest.raises(
ParsingError,
match="A semantic model having a measure `people` is disabled but was referenced",
match="The measure `people` is referenced on disabled semantic model `semantic_people`.",
):
run_dbt(["parse"])

Expand Down Expand Up @@ -97,7 +97,7 @@ def test_project_level(self, project):
update_config_file(new_enabled_config, project.project_root, "dbt_project.yml")
with pytest.raises(
ParsingError,
match="A semantic model having a measure `people` is disabled but was referenced",
match="The measure `people` is referenced on disabled semantic model `semantic_people`.",
):
run_dbt(["parse"])

Expand Down

0 comments on commit 5a662b0

Please sign in to comment.