diff --git a/tests/functional/adapter/test_list_relations_without_caching.py b/tests/functional/adapter/test_list_relations_without_caching.py index f6dfc2144..b126984a3 100644 --- a/tests/functional/adapter/test_list_relations_without_caching.py +++ b/tests/functional/adapter/test_list_relations_without_caching.py @@ -101,7 +101,7 @@ def test__snowflake__list_relations_without_caching_termination(self, project): schemas = project.created_schemas for schema in schemas: - schema_relation = f"{database}.{schema}" + schema_relation = {"database": database, "schema": schema} kwargs = {"schema_relation": schema_relation} _, log_output = run_dbt_and_capture( [ @@ -149,7 +149,7 @@ def test__snowflake__list_relations_without_caching(self, project): schemas = project.created_schemas for schema in schemas: - schema_relation = f"{database}.{schema}" + schema_relation = {"database": database, "schema": schema} kwargs = {"schema_relation": schema_relation} _, log_output = run_dbt_and_capture( [ @@ -161,7 +161,6 @@ def test__snowflake__list_relations_without_caching(self, project): str(kwargs), ] ) - parsed_logs = parse_json_logs(log_output) n_relations = find_result_in_parsed_logs(parsed_logs, "n_relations") @@ -178,7 +177,8 @@ def test__snowflake__list_relations_without_caching_raise_error(self, project): schemas = project.created_schemas for schema in schemas: - schema_relation = f"{database}.{schema}" + schema_relation = {"database": database, "schema": schema} + kwargs = {"schema_relation": schema_relation} _, log_output = run_dbt_and_capture( [ @@ -191,7 +191,6 @@ def test__snowflake__list_relations_without_caching_raise_error(self, project): ], expect_pass=False, ) - parsed_logs = parse_json_logs(log_output) traceback = find_exc_info_in_parsed_logs(parsed_logs, "Traceback") assert "dbt will list a maximum of 99 objects in schema " in traceback