Skip to content

Commit

Permalink
SNOW-1011766: Removing unnecessary connection parameters from test_ge…
Browse files Browse the repository at this point in the history
…t_repository_url_cli
  • Loading branch information
sfc-gh-davwang committed Jan 31, 2024
1 parent f6f9d0d commit d5241ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions tests/spcs/test_image_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down
1 change: 1 addition & 0 deletions tests_integration/spcs/test_image_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

@pytest.mark.integration
def test_list_images_tags(runner):
# test assumes the testing environment has been set up with /SNOWCLI_DB/PUBLIC/snowcli_repository/snowpark_test:1
_list_images(runner)
_list_tags(runner)

Expand Down

0 comments on commit d5241ab

Please sign in to comment.