@@ -519,43 +519,8 @@ def test_check_command_state(self, sea_client, sea_command_id):
519519 )
520520 assert "Command failed" in str (excinfo .value )
521521
522- def test_utility_methods (self , sea_client ):
523- """Test utility methods."""
524- # Test get_default_session_configuration_value
525- value = SeaDatabricksClient .get_default_session_configuration_value ("ANSI_MODE" )
526- assert value == "true"
527-
528- # Test with unsupported configuration parameter
529- value = SeaDatabricksClient .get_default_session_configuration_value (
530- "UNSUPPORTED_PARAM"
531- )
532- assert value is None
533-
534- # Test with case-insensitive parameter name
535- value = SeaDatabricksClient .get_default_session_configuration_value ("ansi_mode" )
536- assert value == "true"
537-
538- # Test get_allowed_session_configurations
539- configs = SeaDatabricksClient .get_allowed_session_configurations ()
540- assert isinstance (configs , list )
541- assert len (configs ) > 0
542- assert "ANSI_MODE" in configs
543-
544- # Test getting the list of allowed configurations with specific keys
545- allowed_configs = SeaDatabricksClient .get_allowed_session_configurations ()
546- expected_keys = {
547- "ANSI_MODE" ,
548- "ENABLE_PHOTON" ,
549- "LEGACY_TIME_PARSER_POLICY" ,
550- "MAX_FILE_PARTITION_BYTES" ,
551- "READ_ONLY_EXTERNAL_METASTORE" ,
552- "STATEMENT_TIMEOUT" ,
553- "TIMEZONE" ,
554- "USE_CACHED_RESULT" ,
555- }
556- assert set (allowed_configs ) == expected_keys
557-
558- # Test _extract_description_from_manifest
522+ def test_extract_description_from_manifest (self , sea_client ):
523+ """Test _extract_description_from_manifest."""
559524 manifest_obj = MagicMock ()
560525 manifest_obj .schema = {
561526 "columns" : [
0 commit comments