mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-06-27 04:22:05 +00:00
Fix Tests
This commit is contained in:
parent
5523d615d0
commit
f993e6bd21
@ -70,7 +70,7 @@ class TestGetConnectionURL(unittest.TestCase):
|
||||
hostPort="localhost:3306",
|
||||
databaseSchema="openmetadata_db",
|
||||
)
|
||||
engine_connection = MySQLConnection(connection).get_client()
|
||||
engine_connection = MySQLConnection(connection).client
|
||||
self.assertEqual(
|
||||
str(engine_connection.url),
|
||||
"mysql+pymysql://openmetadata_user:openmetadata_password@localhost:3306/openmetadata_db",
|
||||
@ -93,7 +93,7 @@ class TestGetConnectionURL(unittest.TestCase):
|
||||
"get_token",
|
||||
return_value=AccessToken(token="mocked_token", expires_on=100),
|
||||
):
|
||||
engine_connection = MySQLConnection(connection).get_client()
|
||||
engine_connection = MySQLConnection(connection).client
|
||||
self.assertEqual(
|
||||
str(engine_connection.url),
|
||||
"mysql+pymysql://openmetadata_user:mocked_token@localhost:3306/openmetadata_db",
|
||||
|
Loading…
x
Reference in New Issue
Block a user