mirror of
https://github.com/apache/superset.git
synced 2026-04-11 12:26:05 +00:00
feat(ssh_tunnel): Import/Export Databases with SSHTunnel credentials (#23099)
This commit is contained in:
@@ -99,7 +99,13 @@ def test_import_assets(
|
||||
assert response.json == {"message": "OK"}
|
||||
|
||||
passwords = {"assets_export/databases/imported_database.yaml": "SECRET"}
|
||||
ImportAssetsCommand.assert_called_with(mocked_contents, passwords=passwords)
|
||||
ImportAssetsCommand.assert_called_with(
|
||||
mocked_contents,
|
||||
passwords=passwords,
|
||||
ssh_tunnel_passwords=None,
|
||||
ssh_tunnel_private_keys=None,
|
||||
ssh_tunnel_priv_key_passwords=None,
|
||||
)
|
||||
|
||||
|
||||
def test_import_assets_not_zip(
|
||||
|
||||
Reference in New Issue
Block a user