File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
ingestion/tests/unit/topology/database Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,17 @@ def test_get_stored_procedures(self):
343343class TestUpdateMssqlIschemaNames :
344344 """Verify update_mssql_ischema_names mutates the dict in-place and returns None."""
345345
346+ @patch (
347+ "metadata.ingestion.source.database.common_db_source.CommonDbSourceService.test_connection"
348+ )
349+ def setup_method (self , _method , test_connection ):
350+ test_connection .return_value = False
351+ self .config = OpenMetadataWorkflowConfig .model_validate (mock_mssql_config )
352+ self .mssql = MssqlSource .create (
353+ mock_mssql_config ["source" ],
354+ self .config .workflowConfig .openMetadataServerConfig ,
355+ )
356+
346357 EXPECTED_MSSQL_TYPES = [
347358 "nvarchar" ,
348359 "nchar" ,
You can’t perform that action at this time.
0 commit comments