diff --git a/core/dbt/parser/generic_test_builders.py b/core/dbt/parser/generic_test_builders.py index 05a755fbf9f..06c13623df0 100644 --- a/core/dbt/parser/generic_test_builders.py +++ b/core/dbt/parser/generic_test_builders.py @@ -369,7 +369,7 @@ def get_static_config(self): if self.warn_if is not None: config["warn_if"] = self.warn_if if self.error_if is not None: - config['error_if'] = self.error_if + config["error_if"] = self.error_if if self.fail_calc is not None: config["fail_calc"] = self.fail_calc if self.store_failures is not None: