def test__rules__std_file_dbt(rule, path, violations, in_dbt_project_dir): # noqa """Test the linter finds the given errors in (and only in) the right places (DBT).""" assert_rule_raises_violations_in_file( rule=rule, fpath=path, violations=violations, fluff_config=FluffConfig(configs=DBT_FLUFF_CONFIG, overrides=dict(rules=rule)), )
def test__rules__std_file(rule, path, violations): """Test the linter finds the given errors in (and only in) the right places.""" assert_rule_raises_violations_in_file( rule=rule, fpath=path, violations=violations, fluff_config=FluffConfig(overrides=dict(rules=rule)), )