Skip to content

Commit

Permalink
fixup! Add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-turbaszek committed Jun 13, 2024
1 parent 7cf1075 commit 7af52e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/project/__snapshots__/test_config.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@
'query_warehouse': 'test_warehouse',
'schema_name': None,
'stage': 'streamlit',
'title': None,
}),
})
# ---
7 changes: 7 additions & 0 deletions tests/streamlit/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def test_deploy_only_streamlit_file_replace(
ROOT_LOCATION = '@MockDatabase.MockSchema.streamlit/{STREAMLIT_NAME}'
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
"select system$get_snowsight_host()",
Expand Down Expand Up @@ -263,6 +264,7 @@ def test_deploy_streamlit_and_environment_files(
ROOT_LOCATION = '@MockDatabase.MockSchema.streamlit/{STREAMLIT_NAME}'
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
f"select system$get_snowsight_host()",
Expand Down Expand Up @@ -303,6 +305,7 @@ def test_deploy_streamlit_and_pages_files(
ROOT_LOCATION = '@MockDatabase.MockSchema.streamlit/{STREAMLIT_NAME}'
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
f"select system$get_snowsight_host()",
Expand Down Expand Up @@ -388,6 +391,7 @@ def test_deploy_put_files_on_stage(
ROOT_LOCATION = '@MockDatabase.MockSchema.streamlit_stage/{STREAMLIT_NAME}'
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
f"select system$get_snowsight_host()",
Expand Down Expand Up @@ -465,6 +469,7 @@ def test_deploy_streamlit_main_and_pages_files_experimental(
CREATE STREAMLIT IF NOT EXISTS MockDatabase.MockSchema.{STREAMLIT_NAME}
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
f"ALTER streamlit MockDatabase.MockSchema.{STREAMLIT_NAME} CHECKOUT",
Expand Down Expand Up @@ -530,6 +535,7 @@ def test_deploy_streamlit_main_and_pages_files_experimental_double_deploy(
CREATE STREAMLIT IF NOT EXISTS MockDatabase.MockSchema.{STREAMLIT_NAME}
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
_put_query("streamlit_app.py", root_path),
Expand Down Expand Up @@ -611,6 +617,7 @@ def test_deploy_streamlit_main_and_pages_files_experimental_replace(
CREATE OR REPLACE STREAMLIT MockDatabase.MockSchema.{STREAMLIT_NAME}
MAIN_FILE = 'streamlit_app.py'
QUERY_WAREHOUSE = test_warehouse
TITLE = 'My Fancy Streamlit'
"""
).strip(),
f"ALTER streamlit MockDatabase.MockSchema.{STREAMLIT_NAME} CHECKOUT",
Expand Down

0 comments on commit 7af52e9

Please sign in to comment.