From 2ae5e32170d13277aca1872f0ea784220c36fc78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 19:24:25 +0100 Subject: [PATCH] [Backport 1.8.latest] Add `get_catalog_for_single_relation` to `MockAdapter` (#10340) Co-authored-by: Kshitij Aranke --- tests/unit/mock_adapter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/mock_adapter.py b/tests/unit/mock_adapter.py index 8858542619b..8b68a8c11ac 100644 --- a/tests/unit/mock_adapter.py +++ b/tests/unit/mock_adapter.py @@ -33,6 +33,9 @@ def rename_relation(self, *args, **kwargs): def get_columns_in_relation(self, *args, **kwargs): return self.responder.get_columns_in_relation(*args, **kwargs) + def get_catalog_for_single_relation(self, *args, **kwargs): + return self.responder.get_catalog_for_single_relation(*args, **kwargs) + def expand_column_types(self, *args, **kwargs): return self.responder.expand_column_types(*args, **kwargs)