mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat(ssh_tunnel): Add feature flag to SSH Tunnel API (#22805)
This commit is contained in:
committed by
GitHub
parent
0045816772
commit
d6a4a5da79
@@ -241,6 +241,10 @@ def test_delete_ssh_tunnel(
|
||||
# mock the lookup so that we don't need to include the driver
|
||||
mocker.patch("sqlalchemy.engine.URL.get_driver_name", return_value="gsheets")
|
||||
mocker.patch("superset.utils.log.DBEventLogger.log")
|
||||
mocker.patch(
|
||||
"superset.databases.ssh_tunnel.commands.delete.is_feature_enabled",
|
||||
return_value=True,
|
||||
)
|
||||
|
||||
# Create our SSHTunnel
|
||||
tunnel = SSHTunnel(
|
||||
@@ -313,6 +317,10 @@ def test_delete_ssh_tunnel_not_found(
|
||||
# mock the lookup so that we don't need to include the driver
|
||||
mocker.patch("sqlalchemy.engine.URL.get_driver_name", return_value="gsheets")
|
||||
mocker.patch("superset.utils.log.DBEventLogger.log")
|
||||
mocker.patch(
|
||||
"superset.databases.ssh_tunnel.commands.delete.is_feature_enabled",
|
||||
return_value=True,
|
||||
)
|
||||
|
||||
# Create our SSHTunnel
|
||||
tunnel = SSHTunnel(
|
||||
|
||||
Reference in New Issue
Block a user