From 416f3f4434737b2b2f9cc0cd642f31a070aeadee Mon Sep 17 00:00:00 2001 From: David Wang Date: Wed, 31 Jan 2024 11:32:46 -0800 Subject: [PATCH] SNOW-1011766: Removing unnecessary connection parameters from test_get_repository_url_cli --- tests/spcs/test_image_repository.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/spcs/test_image_repository.py b/tests/spcs/test_image_repository.py index d22dae335e..9141f29f96 100644 --- a/tests/spcs/test_image_repository.py +++ b/tests/spcs/test_image_repository.py @@ -140,9 +140,6 @@ def test_list_tags( "snowflake.cli.plugins.spcs.image_repository.commands.ImageRepositoryManager._conn" ) def test_get_repository_url_cli(mock_conn, mock_execute_query, runner, mock_cursor): - mock_conn.database = "DB" - mock_conn.schema = "SCHEMA" - mock_conn.role = "MY_ROLE" repo_url = "orgname-alias.registry.snowflakecomputing.com/DB/SCHEMA/IMAGES" mock_execute_query.return_value = mock_cursor( rows=[