Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Jul 14, 2023
1 parent bfee44b commit a11867a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration_tests/databases/commands_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def test_import_v1_database(self, mock_g):
assert database.database_name == "imported_database"
assert database.expose_in_sqllab
assert database.extra == "{}"
assert database.sqlalchemy_uri == "sqlite:///test.db"
assert database.sqlalchemy_uri == "someengine://user:pass@host1"

db.session.delete(database)
db.session.commit()
Expand Down Expand Up @@ -460,7 +460,7 @@ def test_import_v1_database_broken_csv_fields(self, mock_g):
assert database.database_name == "imported_database"
assert database.expose_in_sqllab
assert database.extra == '{"schemas_allowed_for_file_upload": ["upload"]}'
assert database.sqlalchemy_uri == "sqlite:///test.db"
assert database.sqlalchemy_uri == "someengine://user:pass@host1"

db.session.delete(database)
db.session.commit()
Expand Down Expand Up @@ -716,7 +716,7 @@ def test_import_v1_database_with_ssh_tunnel_password(
assert database.database_name == "imported_database"
assert database.expose_in_sqllab
assert database.extra == "{}"
assert database.sqlalchemy_uri == "sqlite:///test.db"
assert database.sqlalchemy_uri == "someengine://user:pass@host1"

model_ssh_tunnel = (
db.session.query(SSHTunnel)
Expand Down Expand Up @@ -761,7 +761,7 @@ def test_import_v1_database_with_ssh_tunnel_private_key_and_password(
assert database.database_name == "imported_database"
assert database.expose_in_sqllab
assert database.extra == "{}"
assert database.sqlalchemy_uri == "sqlite:///test.db"
assert database.sqlalchemy_uri == "someengine://user:pass@host1"

model_ssh_tunnel = (
db.session.query(SSHTunnel)
Expand Down

0 comments on commit a11867a

Please sign in to comment.