mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-18 12:18:35 +00:00
Modify redshift schema (#4624)
This commit is contained in:
parent
2a6208f9b4
commit
5cf9799578
@ -74,5 +74,5 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["hostPort", "username"]
|
||||
"required": ["hostPort", "username", "database"]
|
||||
}
|
||||
|
@ -48,13 +48,3 @@ class TestConfig(TestCase):
|
||||
)
|
||||
url = get_connection_url(connection)
|
||||
assert url == "redshift+psycopg2://username:password@localhost:1234/dev"
|
||||
|
||||
def test_redshift_url_without_db(self):
|
||||
"""
|
||||
Validate Redshift without DB URL building
|
||||
"""
|
||||
connection_without_db = RedshiftConnection(
|
||||
username="username", password="password", hostPort="localhost:1234"
|
||||
)
|
||||
url_without_db = get_connection_url(connection_without_db)
|
||||
assert url_without_db == "redshift+psycopg2://username:password@localhost:1234"
|
||||
|
Loading…
x
Reference in New Issue
Block a user