mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
chore: move dashboard screenshot standalone logic (#23003)
This commit is contained in:
committed by
GitHub
parent
f6c304437a
commit
4ddf67fc14
@@ -37,6 +37,11 @@ def test_convert_dashboard_link() -> None:
|
||||
assert test_url == "http://localhost:9000/superset/dashboard/3/?standalone=0"
|
||||
|
||||
|
||||
def test_convert_dashboard_link_with_integer() -> None:
|
||||
test_url = modify_url_query(EXPLORE_DASHBOARD_LINK, standalone=0)
|
||||
assert test_url == "http://localhost:9000/superset/dashboard/3/?standalone=0"
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"url,is_safe",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user