diff --git a/poetry.lock b/poetry.lock index 85fdde591..ea8605fab 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1160,14 +1160,14 @@ files = [ [[package]] name = "oauthlib" -version = "4.0.0" +version = "4.0.1" description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" optional = false python-versions = ">=3.9" groups = ["main"] files = [ - {file = "oauthlib-4.0.0-py3-none-any.whl", hash = "sha256:624c28c13a0a59cabf9747dfa52af63be3e512a7f2714df16e91b5b3a145e6cd"}, - {file = "oauthlib-4.0.0.tar.gz", hash = "sha256:efb274799819440f95b4ab3b818869f1ce9ae26c5beacba0201d1a1b76b54f86"}, + {file = "oauthlib-4.0.1-py3-none-any.whl", hash = "sha256:498a298876e996301950a5b053d12c31628bb7b895db03666430c69ce182eb61"}, + {file = "oauthlib-4.0.1.tar.gz", hash = "sha256:3d73febdb6faa00f277c81fb04be7b7586fb96fc3b7f0b9c772dada69a25ede7"}, ] [package.extras] diff --git a/tests/e2e/test_driver.py b/tests/e2e/test_driver.py index 319b7de5e..872e57f16 100644 --- a/tests/e2e/test_driver.py +++ b/tests/e2e/test_driver.py @@ -559,6 +559,8 @@ def test_get_tables(self): def test_get_columns(self): with self.cursor({}) as cursor: + cursor.execute("SELECT current_catalog()") + catalog_name = cursor.fetchone()[0] table_name = "table_{uuid}".format(uuid=str(uuid4()).replace("-", "_")) table_names = [table_name + "_1", table_name + "_2"] @@ -573,7 +575,11 @@ def test_get_columns(self): "array('item1', 'item2', 'item3') as col_5)".format(table) ) - cursor.columns(schema_name="defa%", table_name=table_name + "%") + cursor.columns( + catalog_name=catalog_name, + schema_name="defa%", + table_name=table_name + "%", + ) cols = cursor.fetchall() cols_desc = cursor.description