From 53e6c19621bf983d1c594e3fcdde787076376367 Mon Sep 17 00:00:00 2001 From: Matthew Wallace Date: Tue, 16 Jan 2024 16:48:16 -0700 Subject: [PATCH] Fix import error --- tests/unit/utils.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/unit/utils.py b/tests/unit/utils.py index 7a9cadb..e246138 100644 --- a/tests/unit/utils.py +++ b/tests/unit/utils.py @@ -7,7 +7,6 @@ from unittest import mock from unittest import TestCase -from hologram import ValidationError from dbt.config.project import PartialProject @@ -146,13 +145,6 @@ def assert_symmetric(self, obj, dct, cls=None): self.assert_to_dict(obj, dct) self.assert_from_dict(obj, dct, cls) - def assert_fails_validation(self, dct, cls=None): - if cls is None: - cls = self.ContractType - - with self.assertRaises(ValidationError): - cls.from_dict(dct) - def generate_name_macros(package): from dbt.contracts.graph.parsed import ParsedMacro