From 834b970b9e13dc7d3baeb76ef5721cf53975c89c Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Fri, 26 Jan 2024 12:23:30 -0500 Subject: [PATCH] remove unused test case --- tests/functional/test_connection_manager.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/functional/test_connection_manager.py b/tests/functional/test_connection_manager.py index f2e746f7..778b2fbb 100644 --- a/tests/functional/test_connection_manager.py +++ b/tests/functional/test_connection_manager.py @@ -1,29 +1,11 @@ from unittest import TestCase, mock from dbt.adapters.contracts.connection import Connection -from dbt.tests.adapter.connection_manager import ConnectionManagerRetry import psycopg2 from dbt.adapters.postgres import PostgresCredentials, PostgresConnectionManager -class TestConnectionManagerRetry(ConnectionManagerRetry): - def get_connection(self) -> Connection: - if connection := self.connection: - pass - else: - credentials = PostgresCredentials( - host="localhost", - user="test-user", - port=1111, - password="test-password", - database="test-db", - schema="test-schema", - ) - connection = Connection("postgres", None, credentials) - return connection - - class TestConnectionManagerOpen(TestCase): connection = None