Skip to content

Commit

Permalink
Fixing integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitor-Avila committed Feb 28, 2025
1 parent 4b72e2a commit 3c50282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/integration_tests/databases/api_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def test_create_database_with_missing_port_raises_error(
)

@mock.patch(
"superset.commands.database.sync_permissions.SyncPermissionsCommand.run_without_transaction",
"superset.commands.database.sync_permissions.SyncPermissionsCommand.run",
)
@mock.patch(
"superset.commands.database.test_connection.TestConnectionDatabaseCommand.run",
Expand Down Expand Up @@ -522,7 +522,7 @@ def test_update_database_with_missing_port_raises_error(
db.session.commit()

@mock.patch(
"superset.commands.database.sync_permissions.SyncPermissionsCommand.run_without_transaction",
"superset.commands.database.sync_permissions.SyncPermissionsCommand.run",
)
@mock.patch(
"superset.commands.database.test_connection.TestConnectionDatabaseCommand.run",
Expand Down Expand Up @@ -610,7 +610,7 @@ def test_delete_ssh_tunnel(
db.session.commit()

@mock.patch(
"superset.commands.database.sync_permissions.SyncPermissionsCommand.run_without_transaction",
"superset.commands.database.sync_permissions.SyncPermissionsCommand.run",
)
@mock.patch(
"superset.commands.database.test_connection.TestConnectionDatabaseCommand.run",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from superset.utils import json
from flask_babel import lazy_gettext as _ # noqa: F401
from flask_appbuilder.models.sqla import filters
from tests.conftest import with_config # noqa: F401
from tests.integration_tests.base_tests import SupersetTestCase
from tests.integration_tests.constants import ADMIN_USERNAME
from tests.integration_tests.fixtures.birth_names_dashboard import (
Expand Down

0 comments on commit 3c50282

Please # to comment.